I need a confirmation: API 2 DesktopListbox.RemoveAllRows fires the SelectionChanged event, while API 1 Listbox.DeleteAllRows does not fire the Change event.
Is this correct?
Delete all rows has always changed the selection if one was made. Both APIs. All platforms.
When debugging an API 1 project that executes DeleteAllRows before populating a listbox, it seems that the Change event of the Listbox is not fired.
No selection, then not fire.
1 Like
Yes, you are right (as was largely expected!)
With both API1 and API2 the Change/SelectionChanged event fires only if a Listbox row has been selected.
Thanks Tim & Alberto: you are beacons of light for us Xojo developers!