Empty items in TListBox.
Original Reporter info from Mantis: realXCV
-
Reporter name:
Original Reporter info from Mantis: realXCV
- Reporter name:
Description:
When adding an item to a TListBox (through .Items.Add(...)), an empty item is visually added at the bottom of the list but not in the items themselves.
If you add an OnSelectionChangeEvent to the list and you click on one of these fake items, it will become visually selected but the itemindex will be set to -1.
Additional information:
In the screenshot, I never added the item that is selected.