So I want to vertically center the TListBox
(not TListView
) item.
I can use TopIndex
property, but how do I do the whole thing.
If there are fewer items so the scroll bar doesn't appear, then centering is not required, only selection of default item will do just fine.
Something like this: