Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On entry select whole field
Message
From
03/05/2001 09:45:28
 
 
To
03/05/2001 09:37:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00502973
Message ID:
00502977
Views:
20
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.com
ICQ #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.
Previous
Reply
Map
View

Click here to load this message in the networking platform