Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling grid cell
Message
De
22/09/1999 21:04:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00267849
Message ID:
00267861
Vues:
35
>How do you disable certain cells in a grid without disabling the whole column? Depending upon certain condition, I need for each row/record to have certain column(s) disabled for dataentry.
>
>For example, if I have 5 columns with 2 records/rows, I want to disable column 3 for the first record but disable column 5 in second record. IOW, each record/row can have different columns disabled.
>
>TIA.

You may add two controls (textboxes) to each column, one is permanently enabled and another- disabled. Then you will use Column.DynamicCurrentControl to 'enable/disable' cells (property expression will be based on some record field value).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform