Hi

I am changing the samba module for my own requests and so I want to use
a LIST_BOX. I create it with:

SSTRING box("xxxxx");
FIELD_LIST *pt = dia.newf_list("text",box);
The problem is that the contents of box is not shown in the list box. I
have to explicitly add it. But when the post_validate method is called,
as a consequence of a dialog confirmation, it outputs the error "You
must use an entry of the listbox". I have noticed that post_validate
compares the contents of box and of the listitems. But when it gets the
contents of the buffer box from the gui interface with get_gui the
buffer is empty. I have also tried that in the text interface and there
it is no problem.

I have linuxconf 1.11r19 maybe in the later versions it is already
fixed.

Thanx

--
Martin Deinhofer                     mailto:[EMAIL PROTECTED]
g.a.m.s. edv dienstleistungen gmbh   +43 1 895 84 99-22
stiegergasse 15-17 ; 1150 Wien       http://www.gams.at




---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to