Fabio,
>I cannot put CHR(9) within the editbox.Text property.
>
>You cannot show CHR(9) on Editbox, you have it on Value property and is
>convert to 3 spaces on Text.
If AllowTabs is set to .T. both the .Value and .Text property will contain chr(9) characters not spaces, the text after the chr(9) will appear shifted to the left in the editbox by what you are calling "3 spaces"
On a default editbox font setting (Arial 9) the amount of space is between 6 and 7 spaces. You can see this by entering this line of text:
test[tab]this[enter]
test[6 spaces]this
6 spaces is not enough to get the two "this"s lined up and 7 spaces is too many.