Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
THIS.SELSTART = 0
THIS.SELLENGTH = 100
THIS.SETFOCUS
I have some text boxes with SelectOnEntry set to .T.
It works with the arrow or tab key but NOT if the MOUSE is used to get focus.
WITH This
IF .SelectOnEntry
Textbox::GotFocus()
.SelStart = 0
.SelLen = LEN( .Text )
NODEFAULT
ENDIF
ENDWITH
you still might want to DODEFAULT() somewhere.
I think that's why Marcia has Textbox::GotFocus() in her code.
On a page frame, when a page tab is clicked the text selection doesn't work on the field that gets focus.