Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I center a label on the form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00062470
Message ID:
00062607
Views:
52
>>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.

Your setting where you want the label to be at run time so why not set the size also.
find the length of the sting and change label size just before postion.

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform