Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enabling only one row in a grid
Message
De
30/04/1997 19:03:24
 
 
À
30/04/1997 18:13:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00030373
Message ID:
00030390
Vues:
36
>>I am attempting to only allow a user to edit one row in a grid at a time. I have a save button that calls code for the table update, but due to code that is specific to the current record I can't allow the user to move the record pointer. Any suggestions will be greatly appreciated.
>
>The effect you want can probably be achieved by using the BeforeRowColChange method of the grid. In this method, test first to see if a row or column change has been requested. If it is a row change, then test for whatever condition you will allow a change. If you fail that test, issue NODEFAULT, and the change will not be honored.
>
>Give this a try and tell us what you think.

Thanks, that sounds just like what I was looking for


James Naftel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform