Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center form's caption
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00356420
Message ID:
00356427
Views:
10
Nadya,

I believe that you would have to figure out how many pixels wide a space() character is in the font you're using first, then figure out how many pixels wide your caption is. Next check the width property of your form, then convert the width of the form into space() terms. Then pad your caption with the appropriate number of spaces. Also, you'd probably want to put this code in your resize() method.

HTH

-Matt
Previous
Reply
Map
View

Click here to load this message in the networking platform