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:
00179202
Views:
27
>>>You don't need to put {RIGHTARROW} to go to the first column. It does it automatically. Try it.
>>
>>Nope. Just tried it. If I'm in the last column of the grid, right arrow moves me to the last column of the next row. You must be using a subclass of VFP grid class which automatically selects first column when you change row.
>>
>>Note: what I tried was doing it interactively, i.e. pressing the arrow keys myself. I didn't try stuffing the keyboard. But I surely hope the results would be the same stuffing the keyboard as pressing the keys.
>>
>>Regards,
>
>Well, maybe you should try again, in code. What should happen is that when you stuff with {DNARROW}, it works with the key you already pressed (e.g. ENTER). Thus, I don't know which key gets fired first but the ENTER key will move you to column1 and DNARROW will move you down a row.

Oh, I was assuming NODEFAULT in the KeyPress event, suppressing the Enter/Tab. I see your point.

Regards,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Reply
Map
View

Click here to load this message in the networking platform