Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.activatecell in Grid
Message
De
15/07/1998 22:49:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00117960
Message ID:
00117977
Vues:
32
>I just would like to move the cursor down one line after the user press enter (in a grid). but somehow activatecell(activerow+1,activecolumn) doesn't work because activatecell uses a relative grid column row coordinate.
>
>Using keyboard (DNARRAOW BACKTAB ) command works ok. but looks weird with the cursor move down then left :)

Where are you putting the code? If you put this in your BeforeRowColChange event, it seems to work ok (although, I feel like there's probably a better way):

IF lastkey() = 13
NODEFAULT
keyboard '{DNARROW}'
ELSE
DODEFAULT
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform