All Manuals > CAPI User Guide and Reference Manual > 9 Adding Toolbars

NextPrevUpTopContentsIndex

9.8 Disabling toolbar items

To disable a toolbar button you can set its enabled slot to nil. Alternatively supply it with a suitable enabled-function . For more information about this, see toolbar-object.

You can disable and enable a toolbar-component in the same way.


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex