Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine how many characters fit in a text box
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00800818
Message ID:
00801470
Views:
13
Thanks, that gave me exactly what I need. I really appreciate it.

>Hi,
>
>Try this:
>
>txtwidth([cText],[cFontname],[nFontsize],'N')*fontmetric(6,[cFontname],[nFontsize])
>
>Note:
>You can change 'N' is one of things exact with the fontstyle you use for text. Ex: 'N': normal, 'B': Bold, ie
red

Rodney E. Dixon
Mckee Foods Corporation
Collegedale, TN
Previous
Reply
Map
View

Click here to load this message in the networking platform