>>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 #
1125743or
Re: Reposition labels on forms Thread #
1093594 Message #
1093648
If it's not broken, fix it until it is.
My Blog