Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating printed number of lines of memo-field
Message
From
13/08/2000 10:47:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00404361
Message ID:
00404378
Views:
7
Hi Vidar,

Look at the FONTMETRIC(), SYSMETRIC(), and TXTWIDTH() functions. Using a combination of these functions may be able to help.


>Is there any way to calculate how many lines a memo-field will take up on a report given the width and font for the field set in the frx?
>
>I guess what I'm asking is really how to SET MEMOWIDTH according to the length and font set in the frx so that MEMLINES() will give a correct answer.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform