|
| |
Show() Function
Show/Hide a Toolbar Button. Syntax:
Parameters:
id - id of button to show. show - 1to show a button, 0 to hide it.
Remarks:
- For this function to work, the button must have been previously hidden with the Show() command.
- Currently this function only works with toolbar buttons. Other toolbar controls can not be hidden.
Example:
In this example click the Hide and Show buttons to display or hide the test button.
<xml id="toolbar"> <toolbar caption="Show() Example"> <control type="toolbar"> <button id=hide caption="Hide" action="Show(test,0)"></button> <button id=show caption="Show" action="Show(test,1)"></button> <separator></separator> <button id=test caption="Test Button"></button> </control> </toolbar> </xml>
See Also:
|