Hi!
Try this.SetFocus in the click event of the text box. You can also use SelStart and SelLength properties of the textbox to select text in it manually in the click event. To assure you handle click only after mouse events, use a flag that you set to .T. in the MouseUp event and check it in the Click event.
>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,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.