Hi Moises,
>How can I do so that all characters in my texbox begin at the left ?
>( prevent user from accidently add blank spaces at left)
To prevent user add blank spaces at left you can to do:
- In your TextBox's InteractiveChange method type this:
IF LEFT(this.Value, 1) = " "
this.Value = ALLTRIM(this.Value)
ENDIF
- Other way is to type the code below in TextBox's LostFocus method:
this.Value = LTRIM(this.Value)
I hope this helps you.
Erick
Força Sempre!
Strength Always!