Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking Grid Row
Message
De
11/01/2001 19:17:28
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
11/01/2001 16:38:03
Eric Sedlacek
TTSS Interactive Products
Rockville, Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00462557
Message ID:
00462682
Vues:
11
Hi Eric,

You could do something like this....

1) Create a logical form property such as lGridLocked (default .F.)

2) Put the following code in the WHEN event of the grid
Return !Thisform.lGridLocked
3) Whenever you want to lock the grid, simply change the form property's value to .T. (not forgetting, of course, to change it back to .F. when you want to unlock the grid)


HTH

Liam

>Does anyone know some mechanism or easy code for "locking" a grid so that the user cannot change rows until it is "unlocked".
>
>Thanks.
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform