General information
Category:
Forms & Form designer
Title:
AutoSize (height) listbox?
I'd like to make a listbox "fit" the rows, ie change the height so there is no empty space and no scroll bars (where possible).
If I were using a grid I would use something like
.height = .headerheight + .rowheight * nRows
But the listbox has no .rowheight property.
So how do I obtain the rowheight for a listbox, or set the height in some other way?
I don't want to use a grid because the RecordSourceType is not as flexible as the RowSourceType.
Dave Turnbull
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only