Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to force height of a listbox
Message
From
14/04/2009 16:10:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01394767
Message ID:
01394837
Views:
43
Thanks, Naomi --

I was actually hoping somebody would have worked this out (trying to minimize what little work there is for me to do here), and I guess I'll just have to take it from here.

Cheers.

>>Any ideas on how to force the height of a listbox so that it will be the exact height to show all the items in the list?
>>
>>Thanks yet again
>
>Depending on the font you're using I would assume you need to calculate height of the item and multiply by the number of items + 1 or 2 extra pixels per each item.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform