Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor movement in a Grid
Message
 
À
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:
00414333
Vues:
20
>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,

Like you, I decided to use the KeyPress method. I will give it a try.

Thank you,
Randy Barnett
Ascension Capital Group
Arlington, Texas USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform