Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving to next row in a Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127246
Message ID:
00127297
Views:
34
Hi, I have a similar problem.
Since I have some coding in grid Textbox Keypress(),
I wonder that if user want to goto next ROW by press Down arrow....
it will be problem!

2nd, I wonder that if I put KeyBoard '{Shift+Tab}' on keypress()
if the textbox is in grid, it work {Tab} action, i.e. next column not previous!
but the previous column I may set it to disable when some condition true.
hard to jump previous column... >~<'




>>I have a grid (that's driving me crazy). In the grid is a numeric field. when I fill up the numbers 9999.9 I want to advance to the next field and ding the bell.
>>
>>Can anyone help on this?
>>
>>Thanks
>
>John, if you are always entering data with the same number of digits, then you can format the field for 9999.9. In the WHEN of the grid textbox SET CONFIRM OFF. This will cause the cursor to leave the textbox when the field is full. In your LostFocus() event put
>NODEFAULT          &&  to prevent the default behavior
>keyboard chr(4)    &&  right arrow, go to next column
>SET CONFIRM OFF    &&  Assuming this was your original value
>
>Alternatively, you can set focus to the correct row/column instead of using the arrow keys.
>
>HTH
>Barbara
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform