Hey all,
I currently have a window with a listbox within in. The listbox shows the results from a search.
The problem I currently have is that when a search is performed and enough items are added to the listbox, the listbox expands vertically and forces the form to expand vertically as well.
I know I can fix this with a maxheight, but I don't want to limit the size of the form to the user, only to the program at runtime.
Is there a way I can tell the listbox to not automatically expand or only expand when the user resizes the form?
Thanks,
Sonny