Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Movements in GRID
Message
 
To
08/01/2001 23:33:40
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00461008
Message ID:
00461127
Views:
24
Look at the afterrowcolchange and grid.textbox keypress events.
If keypess=chr(13) and columnindex = last column then focus on next-to-last column of next row. Look at grids ALlowAddNew (if you havent already)
Another design method might help too. Some shops use the grid as a 'navigator' to populate form TextBoxes, and then edit the text box.

>I am using Visual Foxpro 6.0. In one of my form I am using grid. When user runs the form grid is populated with some records. user is not allowed to add a new row. Only last two columns are allowed to edit. What I want is when user is in last cell of a row after pressing ENTER he should directly go to the next row's cell. If it is possible, how can I check the curernt row and no. of rows in the grid ?
>
>Thanx in Advance.
>
>
>
>Regards
>
>Ashish
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform