Genie Name: button_base
Genie Library: sa_controls_common
System Project: SA_Controls
The Button Base Genie (named "button_base") can be used to position a button and enable its basic functionality.
Buttons are theme aware; their color will adjust according to the current theme set for the workspace.
Complete the following properties for the genie in the Genie Properties dialog box.
Select the genie, then double-click on it. The genie’s parameters are displayed. Complete the following parameters:
Parameter |
Description |
---|---|
Click Command |
The function that is called when the operator clicks on the button. No specific arguments are required. |
Disabled When |
An expression (applied in conjunction with Area and Privilege) that can provide further logic to specify when the button is disabled. |
Tooltip |
Text that displays when the operator hovers the mouse over the button at runtime. |
Area |
Enter the area to which the button belongs. Only users with access to this area can use the button. |
Privilege |
Enter the privilege level that a user needs to possess to use this button. |
Equipment Context |
Can be used to store an equipment context. This is an optional setting that is only used by navigation buttons. Note: If Equipment Context is specified, then the cluster needs to be specified as well. |
See also
Published June 2018