Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

CommandEnabled and checkbox

I cant seem to disable a check box in code via "OLE.CommandEnabled"
I can make it invisible no problem but not enabled.
Is this possible or am I missing something.


Comments

  • Check boxes don't support Commands and therefore can't be disabled. Only buttons can be disabled. The thinking was that other kinds of controls should be used sparingly to avoid turning the Ribbon into a form. You can hide a check box using the ControlVisible property. I can add the ability to disable other kinds of controls to my todo list, but I can't give you and ETA right at this moment.
  • Thanks
    I will look to do thin another way.
  • do this another way
Sign In or Register to comment.