If your editbox.AllowTabs = .t. then anytime the user presses the TAB key the character chr(9) is inserted into the value not 3 spaces.
It's not exactly clear how you are wanting to coordinate a chr(9) embedded in a label to your editbox. Depending on the font selected the chr(9) it will appear as a box character.
>
>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.