|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 03 > 28 > Telegram_2023-03-28T16 |
2023-03-28T16:04:53
You want to remove items from the listbox?
2023-03-28T16:07:15
The Items property of the IWListBox is a TStringList. You remove items just like you remove any string from it:
IWListBox.Items.Delete(0); // deletes the first item of the list box
2023-03-28T16:29:28
Thank you Alexandre, I found that one.
Remains the problem of collaps.
I made a modal popup filled my lb and it appeared expanded, just as I want.
But at a certain moment it appeared collapsed and you need to open it and after selection it closes again. Now I can't find what changed. I like it to appear as a listbox, not a pull-down box.