>Hi
>
>How can I have the whole field selected when I click on the field ?
>It works when I navigate with TAB or ENTER but when I click on the field it put the cursor exactly where I click and does not select the whole field.
>
>Can anyone help ?
The following works for me even where I don't know the lineage of the textbox:
GotFocus Event:
DODEFAULT()
this.SelStart=0
this.SelLength=10000
NODEFAULT