Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Movements in GRID
Message
 
À
08/01/2001 23:33:40
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00461008
Message ID:
00461127
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform