On jeudi 19 juin 2008, Ron wrote: > Benoit Minisini schreef: > > On jeudi 19 juin 2008, Ron wrote: > >> Hi, > >> > >> the change event of a combobox is only triggered if a combobox is not > >> set to read-only. > >> > >> So it detects only the content change of the textbox which is part of > >> the combo box. > > > > Yes. The Change event comes from its interal TextBox. It means that the > > text inside the TextBox has changed. > > > >> If you have a box which is read-only you can only detect some activity > >> via the clicked event, > > > > Yes. > > > >> but then you also get an event when they don't select another value of > >> course. > > > > I don't understand, what do you mean ? > > Well, if a user clicked the combobox but after looking at the list > decides to select the entry that was selected already before he clicked it, > you get a clicked event, but no change occured, thats why I thought the > changed event was for that, butit isn't as you pointed out. > > Well you can store and compare both string values afterwards, as a work > around. > > Ok thanks. > > Regards, > Ron. >
Do you use gb.qt or gb.gtk ? -- Benoit Minisini ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user