Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Enabled Dynamically in a Grid
Message
De
16/07/1998 16:37:53
 
 
À
16/07/1998 16:24:19
Matthew Brazier
Brazier Computer Consulting
Hernando, Mississippi, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00118331
Message ID:
00118339
Vues:
13
>I have a grid with it's RecordSource set to a local view. In this view are some .T./.F. fields where half the .T./.F. fields are bound to checkboxes in the grid and the other half, which are set from another table and will not be changed in this view, are to be used to dynamically set the enabled property of the same checkboxes for each record. Any ideas in how to do this would be appreciated.
>
>TIA,

You should add two checkboxes (cb1.enabled=.t. and cb2.enabled=.f.) to every column where you want to have alternated enabled/disabled checkboxes. Then, you set Column.DynamicCurrentControl property to be evaluated by some other field value.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform