Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 ...Wimpy Squeeze
Message
From
09/03/2005 12:00:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
VFP 9 ...Wimpy Squeeze
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00994059
Message ID:
00994059
Views:
68
In trying to implement the Listener Classes described in Cathy Pountney's "Visual FoxPro 9.0 Report Writer In Action" article on MSDN, I found that the "SqueezeText" directive class was giving me inconsistent results. The FFC FrxCursor class uses GetDeviceCaps() to override the hardcoded property of ScreenDpi=96 which is used in GetFruTextWidth(). My screen returned a value of 120 which caused the wimpy Squeeze. Resetting ScreenDpi=96 seems to have cured the problem.
Bill N.
Next
Reply
Map
View

Click here to load this message in the networking platform