General information
Category:
Coding, syntax & commands
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only