Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit Fields in FoxPro 2.6
Message
De
24/07/1996 01:02:28
Dean Parkinson
Bachelor Controls, Inc
Sabetha, Kansas, États-Unis
 
 
À
22/07/1996 22:40:35
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00004392
Message ID:
00004453
Vues:
30
As was mentioned in other messages, this is a hold-over from the good-old-dos days. Thankfully the problem is corrected in VFP 3.0. That does not help you though.

What does help you is to double click on the field in the screen designer and make sure that the "Select field on entry" option is checked. Then, in the field's "WHEN" clause create procedure that executes a KEYBOARD HOME and return .T.

This will cause the cursor to be placed at the beginning of the field whenever the user enters it... with the mouse or the tab key. This behavior is exasperating but it is less problematic than having leading blanks in user input.

Also, I have tried much more elaborate methods to cure this. I have never found nor read about any better solutions. I hope this helps.

Dean Parkinson
dbpro@smartnet.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform