In my application, I have a TListBox with a Search box. Within each item is a TTreeView for data display (Expand/collapse feature needed). Why do I do this instead of just using a TTreeView without the TListbox, well because I want the search functionality that I can use with a TListBox and a TTreeview doesn't scroll as nicely. Anyway, so my problem is that Lets say I have each ListBoxItem.size := 80.. It looks great, works great etc. etc. etc... But then When I want to expand the TreeViewItem within each ListBoxItem to view it's child TreeViewItems, then I can not see all the data and I would need to re-size the TListBoxItem.
How can re-size a ListBoxItem when a TTreeItem is expanded?
Using Delphi Xe5 to develop an iOS application.