Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox width # Columnwidths
Message
 
 
To
18/06/1999 04:51:01
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00230985
Message ID:
00231661
Views:
19
>>When creating a listbox, I set the columnwidths property to 0,0,50,50,50,50. The width of the the listbox is 230, but the end of the last column does not fit. I allowed 20 for the scrollbar. Do I need to add 1 for each column also? That still wouldn't account for the overrun. Is there something else I'm missing?
>>
>>Thanks,
>>marcus.
>
>As a guess, is the listbox using a proportianal font? Try it again with Courier.

Thanks Mark,
No it is using Arial. I did some more tests, and figured I needed to add 3 pixels for each column separation. So 6 columns would be 5 separations and require an addition 15 pixels.

Thanks again,
Marcus.
Previous
Reply
Map
View

Click here to load this message in the networking platform