Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control of the focus in a Grid...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231363
Message ID:
00231374
Views:
19
>I have a grid in my form with 4 column with all txtbox. Only the first column can be edit by the user and the rest is readonly=.t..
>
>I like to prevent the user to jump to the next column when he edit the column1 and press enter.
>
>How can I prevent the user to jump to the next column?

In the textbox Keypress, put

if nKeycode = 13
nodefault
endif

You may need to add other values too, like for the right arrow, maybe...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform