Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MESSAGEBOX Right Align Problem
Message
From
29/09/2005 09:06:41
 
 
To
29/09/2005 09:02:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054437
Message ID:
01054440
Views:
24
>The reason it doesn't allign correctly is because MessageBox() uses a proportional font - not all letters have the same width, but rather, each letter uses only the space required.

Quick response, Hilmar! But look at the "PadWidth" function, it checks the TXTWIDTH of each character in the string and the pad character, which was supposed to take care of proportional fonts. It doesn't. Why?
Ray Roper
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform