Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My labels have a mind of their own
Message
 
 
To
25/08/2006 11:26:46
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01148417
Message ID:
01148585
Views:
16
>>To stop it, set AutoSize=.F.
>
>But I was hoping to have autosize set to .T. so that when the caption changes (and it will) it could simply grow to the left but keep its right side fixed at its initial position. Can this be done?

Try
Thisform.label1.Caption = "New Caption"
Thisform.label1.AutoSize = .T.
Thisform.label1.AutoSize = .F.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform