Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A checkbox in GRID
Message
From
07/10/1999 22:09:29
 
 
To
07/10/1999 10:16:26
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00273673
Message ID:
00274044
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform