>>>>>Thanks in advance.
>>>>>
>>>>>BTW, I think I need to drop the word 'Component' from that text.
>>>>
>>>>this.refresh()?
>>>
>>>label.Refresh()? I was going to try it next instead of visible trick.
>>
>>I added refresh afrer visible and it worked. Although in debugger I saw that this was not necessary as width changed right after I visible trick.
>>
>>It seems to work now with word 'Component' removed.
>
>I do not even think you need the visible trick, just refresh it (I would refresh the whole page thou).
We need to refresh it prior to calculating new label's position.
If it's not broken, fix it until it is.
My Blog