[Gambas-user] Problem with ComboBox

craf prog at ...2177...
Sun Aug 1 23:34:13 CEST 2010


-----Mensaje original-----
De: Benoît Minisini <gambas at ...1...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Para: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Asunto: Re: [Gambas-user] Problem with ComboBox
Fecha: Sun, 1 Aug 2010 19:44:09 +0200


> > 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,



Ok. Thank you

Regards



More information about the User mailing list