Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoSize (height) listbox?
Message
From
23/03/2000 05:20:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
AutoSize (height) listbox?
Miscellaneous
Thread ID:
00349273
Message ID:
00349273
Views:
42
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
Map
View

Click here to load this message in the networking platform