Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Part of the string - in Bold
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00461366
Message ID:
00463161
Views:
55
PMFJI,

Hey Nadya,

Another angle you could take on Vlad's original suggestion is to use _SCREEN.TextWidth() instead of the command TXTWIDTH(). You'd need to set the the _SCREEN fontname/size to the same as your report form. If that's not acceptable, you could create a non-visible form object (forms have textwidth() too) and just call its method.

The difference between _SCREEN.TextWidth() and TXTWIDTH is that the former returns the actual width in pixels, not the average. Using the actual width would prevent the trouble you're having with the comma not lining up.

HTH,

Marty
Marty Smith, CSQE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform