>>Is the checkbox not already greyed out when it's disabled? I wonder why you want to change the backcolor as well. I tried it and if I change the backcolor it does not change the backcolor for a disabled checkbox, it only looks kind of strange. I also tried it with the DisabledBackcolor, but the result is the same. I think playing with backcolor property in a grid often gives undesired results.
>
>I tried a backcolor suggested by Gregory (e.g. I set Disabled back color to 192,192,192 for Disabled back color for the chkDis) and there is absolutely no visual clue that anything has changed. Both enabled and disabled checkboxes look the same to me. I haven't played with the DynamicBackColor.
>
>I think it's not very important, but I wanted to somehow have a good visual clue if the checkbox is enabled or disabled. Right now I don't see a visual clue.
Did you change the Enabled property to .F. in the second checkbox?
You also need to issue THIS.Refresh() after you change the value, in case you do this with the command window.
See the attachment for my checkbox which is disabled and looks qrey.
Christian Isberner
Software Consultant