Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A checkbox in GRID
Message
De
07/10/1999 22:09:29
 
 
À
07/10/1999 10:16:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00273673
Message ID:
00274044
Vues:
32
>Hi,
> How could I center my checkbox in a grid?
> I am developing security module at this moment. I key in all of my module in a table and let user to assign user's right through a grid. I place checkbox in each relevant column for tick or untick.
>
>Module Access Read Write
>Member Registration .T. .F.
>
>I can just easily let user to grant or not grant the right of each module using the table structure above. I faced a problem when I don't allow user to assign the right of particular item (e.g. write field is empty that meant not available in member registration for example). How do I disable the relevant checkbox if the value is empty?
>
>Thank you

Create two containers, both with centered checkbox, one with enabled checkbox, another with disabled checkbox (or with no checkbox at all). Use Column.DynamicCurrentControl property to select what container will be shown depending on some field value.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform