Hi,
is it possible to enable/disable buttons in the Ribbon using code? We are adding custom buttons to the Ribbon by updating the Default.CUI. These buttons are simply shortcuts to commands. Depending on the selection we would like to enable/disable these buttons. I know how to reflect on selection change but can not figure out how to disable/enable a button
Kind regards
Geza Szabo
Re: Enabling/disabling buttons in the Ribbon
#2Hi Geza,
Please refer to the "Displaying an AutoCAD ribbon tab contextually" here: https://www.keanw.com/2011/10/displayin ... g-net.html
The link's for AutoCAD only but you can customize to work with IntelliCAD for your context, I think.
Please refer to the "Displaying an AutoCAD ribbon tab contextually" here: https://www.keanw.com/2011/10/displayin ... g-net.html
The link's for AutoCAD only but you can customize to work with IntelliCAD for your context, I think.
Re: Enabling/disabling buttons in the Ribbon
#3Hi QuanNguyen,
To clarify, I don't need to show a context ribbon. I need to enable/disable a button on the ribbon.
Kind regards
Geza
To clarify, I don't need to show a context ribbon. I need to enable/disable a button on the ribbon.
Kind regards
Geza