>Hi,
>
>If i set:
>
>
>label.Caption = 'Ciao'+CHR(9)+'Ciao'
>
>
>the CHR(9) is not convert to three spaces, like editbox.
>
>Is a bug or need a specific request on wish list ?
>
>This can seem a small problem, but I use one label in order to implement the autoresize of a EditBox.
>
>The workaround is simple STRTRAN(...,CHR(9),SPACE(3)),
>but true trouble is one.
>
>Fabio
Fabio,
As you know, a tab is not always 3 spaces, it depends on the context
Add an assign method to your label class and do a bit of work in there to convert the tab to the appropriate # of spaces.
It can be difficult though when you are dealing with proportional fonts
Gregory