Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Goto next row in grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00178880
Message ID:
00178966
Views:
32
>>>I need to automatically go to the next row down in a grid after entering data in the last column. ANy suggestions?
>>>
>>>Shane
>>
>>Simple. Just put some code in the KeyPress() event of the last column object (usually a textbox) like this:
>>
>>IF nKeyCode = 13 OR nKeyCode = 9 && Enter or Tab pressed
>>   KEYBOARD '{DNARROW}'
>>ENDIF
>></PREV>
>
><PRE>If you want to go to the first column of the next row, you could add {RIGHTARROW} to that.
>
>HTH,

You don't need to put {RIGHTARROW} to go to the first column. It does it automatically. Try it.
It's "my" world. You're just living in it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform