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

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Jun 21 22:12:06 CEST 2020


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

Comment #1 by Benoît MINISINI:

Isn't is a bug fix? The Click event is raised when the current element changes, either manually or programmatically. So, if you clear the ListBox, the current element is reset to NULL (-1 index), and the event may fire.




More information about the Bugtracker mailing list