[Gambas-bugtracker] Bug #1814: ListBox listbox_Click() shouln't be fired on listbox.clear

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Jun 22 01:39:16 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1814&from=L21haW4-

Comment #3 by Tony MOREHEN:

It's not useless.  Say you have a listbox.  You click on it and, in the 
resulting click event, fill in a number of textboxes.  Now you clear the=2=20
listbox, you need a click event to clear those text boxes.

Add should not generate a click event.  With the same scenario as 
above.  You click on a filled listbox and have all the associated text=2=20
boxes filled in.  Now you add a new item to the listbox. This doesn't 
change the list box item selected so no click event.




More information about the Bugtracker mailing list