TListBox.Selected/TListBox.SelCount is ignored when TListBox initially invisible.
- Lazarus/FPC Version: <fpc 3.2.2, Lazarus latest trunk>
- Operating System: <Windows 10>
- CPU / Bitness: <32 Bit>
What happens
TlistBox.SelCount ist 0 when TListBox initially invisible.
What did you expect
At least 1 when I set ListBox.ItemIndex to i.e. 2 or set Listbox.Selected[2] to true.
Steps to reproduce
Download the example project an read notices in memo.