Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center the Caption of the top level form.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00758045
Message ID:
00758054
Views:
24
This message has been marked as the solution to the initial question of the thread.
Look up TextWidth() and TextHeight() in the help. That should tell you what you need.

Alan

>Hi all,
>
>I know there a formula that base on the font you can determine how many spaces you have to add to the caption to center it. I dont have this information in this location. Somebody have a sample code so I can center my caption? BTW this is a top level form.
>
>Thank
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform