>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