[Gambas-user] Problem with ComboBox
Benoît Minisini
gambas at ...1...
Sun Aug 1 19:44:09 CEST 2010
> > Hi.
> >
> > 1.Objective-----:
> >
> > *Select an item from a ComboBox control and execute an action on your
> > Change event
> >
> > 2.Actions-------:
> >
> > *Load the ComboBox with the elements "1" and "2"
> >
> > *Create a message in the Change event of the ComboBox:
> > PRIVATE ComboBox1_Change()
> > Message("There was a change in the text")
> > END
> > *Run the program and select the first item in the ComboBox
> >
> >
> > 3.Problem--------:
> >
> > By selecting the first element of the ComboBox does not run the Change
> > event only when you click the second item. Then, as you can click the
> > first item.
> >
> >
> > OS: Ubuntu 9.10
> > Gambas: 2.21.0
> > Desktop : Gnome
> >
> > Regards
>
> Can you try the latest svn revision? I have fixed some bugs in the ComboBox
> control.
>
> Regards,
Mmm. And do not forget that the Change event is raised only if ReadOnly is
False. Otherwise you must use the Click event.
Regards,
--
Benoît Minisini
More information about the User
mailing list