Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keystroke in Grid
Message
De
23/03/1999 15:56:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00201165
Message ID:
00201179
Vues:
20
>I have a grid with one column, the CurrentControl of the column is a container which contains 3 text boxes horizontally, txtbox1, txtbox2,txtbox3. If down arrow is pressed in txtbox1, I need to move down one row in grid rather then move to txtbox2 as it does now. What is best way to accomplish this ?
>
>Thanks Clark !!

The best way to move one row down is to move pointer in grid.recordsource, i.e. your textbox.keypress event may fire:
IF nKeycode=24 && down arrow
Select mycursor && recordsource
Skip
Thisform.Grid.Refresh
ENDIF
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform