[Gambas-user] Problem with ComboBox

craf prog at ...2177...
Sun Aug 1 19:21:24 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





More information about the User mailing list