Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make Grid add only
Message
De
26/10/2000 12:29:15
 
 
À
26/10/2000 07:34:50
Sammy Derban
Ghana Telecom
Accra, Ghana
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00434483
Message ID:
00434677
Vues:
20
>is it posible to Make Grid add only ie cannot edit exiting records ?

Make the grid ReadOnly, and have a command button to APPEND BLANK, set a flag that you're adding a record, and in the BeforeRowColChange, don't allow them to change rows if the Adding flag is on.

Have another button to save the changes and stop adding that also turns the adding flag off.

Or, simply have a ReadOnly grid, that uses another DataEntry form or page with textboxes and values to do that editing and adding. DE is much easier in controls than a grid.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform