-----Mensaje original-----
De: Benoît Minisini <gam...@users.sourceforge.net>
Reply-to: mailing list for gambas users
<gambas-user@lists.sourceforge.net>
Para: mailing list for gambas users <gambas-user@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
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to