I am building a GUI and I wish to determine the number of items that can fit on the visible portion of the List Box. This GUI will be used on different operating systems which may have different font sizes, screen resolutions, etc. Thus, the number of lines of text displayed in the List Box is not necessarily predictable.
The 'ListBoxTop' property can be used to set or query the index of the top-most item displayed in the listbox. I am looking for something like a 'ListBoxBottom' property to access the index of the last item displayed in the List Box.
Best Answer