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

Parents
  • 469350
    Offline posted

    Hi Bill,

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

    Your question puzzles me. Why are you looking for a way other than the Appearance object? What's wrong with the Appearance object?

    There is already a very simple and easy way to do this, so what are you looking for a different way?

Reply Children