Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - Jumping From One Record to Another by Hitting Ent
Message
 
À
16/12/1998 15:02:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00168222
Message ID:
00168545
Vues:
31
>>I have a 1-column Grid on a form. After the user makes an entry on 1 line (record) of the grid, is there some way, when the user presses Enter, to be able to jump down to the next line (record), instead of having to use the down arrow key???
>>
>>I tried, in the Valid Event of the txt box in the Grid, to say something like...
>>
>>
>>mNextRecord = RECNO() + 1
>>GO mNextRecord
>>ThisForm.Refresh
>>
>>
>>Any help would be much appreciated. TIA, CWH.
>
>You can check for ENTER key in Textbox.Keypress event and invoke SKIP/Grid.Refresh there (also you can call KEYBOARD '{DNARROW}').

Worked. I appreciate it very much. Thanks, CWH.
Chuck Henry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform