Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a class
Message
From
06/04/1997 00:51:45
 
 
To
06/04/1997 00:46:01
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00027172
Message ID:
00027175
Views:
43
>>Do you have AutoSize=.t. for that label?
>
>Yes, that's what I need.

Try ThisForm.MyLabel.AutoSize=.t. (even if the AutoSize prop is already .t.) immediately after you change the caption. This should force the recalculation of the width right after you change the caption. I don't know why, but sometimes it is a delay between the moment when the text is changed and the moment when the width is recalculated.

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform