I'm using
cVar := "Hello" + SPACE(15)
REDEFINE GET oGet VAR cVar OF oDlg
oGet:bGotFocus := {||oGet:SetSel(0,0),__keyboard(CHR(VK_END))}
If I klick in this field with the mouse, the cursor is set on the end of the edit field. But I want the cursor to be directly behind the "o" of "Hello".