Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
How to change cell Activation foreground
posted

Hi,

I have a wingrid where I want to disable the editing of certain cells.  I can set cell.Activation to ActivateOnly or NoEdit and that disables editing and the cell can still be activated.  However the foreground color is the same color as with AllowEdit (black).  I want the font color to be gray, as per when setting cell.Activation to Disabled.

Our problem with using Disabled is that cell activation is disabled also.  In this case our cells have to remain activated.

Is there a way to set the font color other than through the Appearance object?

Thanks,

Bill