toolpalette.'''enable''' is a function that is part of the [[:Category:toolpalette|toolpalette]].
toolpalette.'''enable''' is a function that is part of the [[:Category:toolpalette|toolpalette]].
−
This routine enables or disables a menu item in the tool palette.
+
This routine enables or disables a menu item in the tool palette.<br />
−
This routine returns true if the menu item was properly enabled or disabled. It returns nil if no tool palette has been previously registered by the script app or if the toolname / itemname pair cannot be found in the registered menu items.
+
This routine returns true if the menu item was properly enabled or disabled.
+
It returns nil if no tool palette has been previously registered by the script app or if the toolname / itemname pair cannot be found in the registered menu items.