Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor movement in a Grid
Message
De
08/09/2000 13:15:08
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00414137
Message ID:
00414244
Vues:
24
Hi Randy,
I much prefer the KeyPress to any other method.
LPARAMETERS nKeyCode, nShiftAltCtrl
IF m.nKeyCode = 13
   NODEFAULT
   WITH This.Parent.Parent
      .ActivateCell(.RelativeRow + 1,.ActiveColumn-.LeftColumn+1)
   ENDWITH
ENDIF
>I am trying to automate the movement of the cursor in a grid. After the user enters data in the default textbox of column 3, I want the cursor to stay in this colmn and move down one row. I have tried placing the appropriate SKIP command in the LostFocus method but haven't gotten the results I want. I have also tried setting the proper row and column using the ACTIVATECELL function.
>
>Any help would be appreciated
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform