>>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.
>
>This didn't change anything.
Look for something else, because it's working for me even if I don't Autosize=.t. immediately after... I've tried it in class and in form and both are working just fine.
Maybe you're running an old version somehow, maybe the class is not recompiled, etc.
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only