Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in a grid
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Checkbox in a grid
Divers
Thread ID:
00770653
Message ID:
00770653
Vues:
40
In a grid I want a checkbox to be visible, but only for some records.

I set Sparse = .F. and then tried to find a way to hide the checkbox for some records.

Tried using DynamicCurrentControl, like this:-

This.Column1.DynamicCurrentControl= [ IIF(LUnwanted , "textbox_" , "checkbox_") ]


but that didn't do anything. The field in the column uses the class "checkbox_". Do I also need to add the class "textbox_"? If so, how?

Or is there another way?


Cyril.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform