Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label.AutoSize - Doesn’t
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00822248
Message ID:
00981365
Views:
44
I'm getting old. How can I forget this trick?

Thanks, Mark.

>Before you can get the correct width, you have to set the Visible property to .T.
>
>>I'm using VFP 8.
>>
>>I placed a label called lblSection on a container. AutoSize is
>>set to TRUE. The caption is defaulted to an empty string, which
>>makes it's width 2.
>>
>>This container has 2 methods, SetCaption and Resize.
>>
>>The problem is that after I set the caption, the width is still
>>2. I tried setting the AutoSize to .F. and back to .T., still
>>no effect.
>>
>>Why won't the label's Width change?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform