You're welcome :-)
Glad it's working for you.
>Thanks Mike,
>
>That fixed it. I did not know the centered property existed.
>
>>Hi James,
>>
>>Centered property for both checkboxes = .T.?
>>
>>>Mike,
>>>
>>>That looks better but it still did not help my alignment problem. The visible=.f. control is left aligned. Both checkboxes are from the same class.
>>>
>>>Thanks
>>>
>>>>Hi James,
>>>>
>>>>Leave them both enabled, for the one you want to seem disabled, set it's visible property .F. I realize it sounds goofy but in a grid column a checkbox with visible = .F. is visible.
>>>>
>>>>>Hi all
>>>>>
>>>>>VFP8 sp1
>>>>>
>>>>>I have a requirement to have a check box in a grid that conditionally disables the check box. The only way I can see to do this is to use DynamicCurrentControl and have one checkbox disabled and the other enabled. This is working fine except the disabled check box will not center in the column. Any ideas how to fix this?
>>>>>
>>>>>Thanks
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney