Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label.AutoSize
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01310962
Message ID:
01311233
Views:
26
>>Stupid question ... You're sure that This.label1.AutoSize = TRUE ?
>>_
>>>A good thought.......Unfortunately, neither DOEVENTS nor INKEY() change the behavior. Setting the caption on the label does not seem to reset the width.
>>>
>
>Gregory,
>
>In earlier VFP versions you have to switch visible property of the label back and fourth to make it resize.

See Re: Getting the width of a Label control before displaying Thread #1125739 Message #1125743

or

Re: Reposition labels on forms Thread #1093594 Message #1093648
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform