Nitya,
If I am understanding your problem correctly, it sounds like you want the equivalent to "SELECTONENTRY" only for the mouse.
I found out long ago, that because of some strange "undocumented feature" in Fox, if you put a dodefault in the gotfocus method of the text box, it will do a select on entry when entering the textbox with the mouse.
I added a property to my base class textbox called "SelectOnMouseEntry" and then put the following code into my GotFocus:
IF THIS.SelectOnMouseEntry
DODEFAULT()
ENDIF
Now, if I want it to select the entire contents of the textbox when entering with the mouse, I just set SelectOnMouseEntry to .T.
Hope this helps.
>When clicking on a text box associated to a numeric field (Default value= 0) 3 digit number; often only the number of digits that can be entered depends on where you click. Is there any way to make the entire 3 digit get selected when clicking on the text box. Works fine if I tab to the text box control from a previow control. Please help.
>
>Thank you.
>Nitya
Brian McCord
President
Sagacity Systems