Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box and Non-Proportional fonts
Message
 
To
08/12/2004 13:57:34
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
00967462
Message ID:
00968494
Views:
12
Hi Anton

Sorry for replying late but I haven't got around to testing your suggestion. Will let you know the feedback. Thanks for responding.

>You can use TextWidth method of the form class to calculate width of text string in pixels. I use it to found the longest string in column and set the column width to that value. Don't forget to set form's Font and FontSize properties to the same values as they are set for your listbox.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform