Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On entry select whole field
Message
 
 
À
03/05/2001 09:37:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00502973
Message ID:
00502977
Vues:
17
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform