Better to add that code to the GotFocus() event rather than the click. Then it will only do the full select on the first click. The user will still be allowed to reposition the cursor with a click after selecting the textbox.
Alan
>Tony,
>
>Does setting the SelectOnEntry to .T. take care of this for you? If not, add
>THIS.SetFocus()
>DODEFAULT()
in the Click() of the textbox.
>
>
>>Any simple way to ensure this behavior will always happen?
>>On a text box I am using inputmask = 999,999.99 and format = K, but when droping the cursor (with the mouse) on the field and field value equals to 0 or blank, then it does not select the whole field.
>>Thanks for the responses,