Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine width for a control?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00066206
Message ID:
00066300
Views:
46
>>>Which is probably using FONTMETRIC(6) or FONTMETRIC(7), or some combination of the two....
>>
>>Thanks Garrett. That's exactly what I needed. Since I am using Courier New (non-
>>proportional), I can be pretty precise with my object widths.
>
>Ah, good. :-) I like Lucida Console myself, but... :-) If you were doing this on a form,
>instead of in a grid, I would have suggested using the Form.TextWidth method.

Another interesting approach. Thanks again. I don't have Lucida Console on my machine. Is this a standard font or do you have to distribute it with your apps?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform