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:
00178964
Views:
27
>>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,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform