Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkboxes in grids
Message
 
À
25/01/2002 06:13:49
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00610348
Message ID:
00610356
Vues:
21
Hi Quinn,

One way to do that is to create two Checkbox controls and insert them onto the Grid's Column. One Checkbox will have "Enabled=.T." and the other "Enabled=.F.". On the DynamicCurrentControl, define an expression that, based on the content of your field, set the enabled/disabled control.

On the Init Method of the Grid:
THIS.Column1.DynamicCurrentControl="IIF(Table.Field, 'Check1', 'Check2')"
-----
Fabio Vazquez
http://www.fabiovazquez.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform