Have several text boxes on a form all being classes. What I am wanting to do from my class text box is to make sure what ever is keyed in the text box, the text is at the first position of the text box.Try this code in the GotFocus() of your textbox class:
Textbox::GotFocus
WITH This
.SelStart = 0
.SelLength = LEN( This.Text )
ENDWITH
NODEFAULT