Disregard. Calling SetFocus() from GotFocus as was suggested by Alan Popow in another thread, works.
>Hi everybody,
>
>I have a textbox on the form. I want to be on the third symbol then I activate it. I put this code in GotFocus:
>
>if empty(this.value)
> this.value = 'A0'
> this.selstart = 3
>endif
>
>and this code in Click() event:
>nodefault
>this.GotFocus()
>
>However, then I click on it the cursor positions itself on the place I click... How can I achieve the desired behavior? I set SelectOnEntry to .f.
If it's not broken, fix it until it is.
My Blog