Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I center a label on the form
Message
 
To
27/11/1997 14:01:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00062470
Message ID:
00062705
Views:
40
>>I've always had labels behave strangely when Autosize was set to .T.. Can you humour me and try you old method with Autosize set to .F.?
>
>I can't, because the caption of the label is passed by parameter to the form.
>So I can't know the length of the caption until run time.

Okay, well, set Autosize .T. on the init (after the text is stuck into the label) and then set Autosize .F....and then centre the label...

Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform