|
| |
Enable() Function
Enables/Disables a Toolbar Button. Syntax:
Parameters:
id - id of button to enable. enable - button if enabled if 1, disabled if 0
Remarks:
- Currently this function only works with toolbar buttons. Other toolbar controls can not be enabled or disabled.
Example:
In this example click the Enable and Disable buttons to toggle the enabled status of the Test button. button.
<xml id="toolbar"> <control type="toolbar"> <button caption="Enable" action="Enable(test,1)"></button> <button caption="Disable" action="Enable(test,0)"></button> <separator></separator> <button id=test caption="Test Button"></button> </control>
See Also:
|