Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid row change
Message
De
16/03/2002 11:03:05
 
 
À
16/03/2002 10:49:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00633739
Message ID:
00633741
Vues:
33
I am using Grid when reaching on last column after pressing enter it goes on first column on same row. I want when user press enter at last column, cursor should go on second row first column automatically.

This code in the KeyPress of the textbox in the last grid column:
IF nKeyCode = 13 
  WITH This.Parent.Parent
   SKIP IN ( .RecordSource )
   IF EOF( .RecordSource )
     GO BOTTOM IN ( .RecordSource )
   ENDIF
   .Column1.SetFocus()
   NODEFAULT
  ENDWITH
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform