To create a button:
KB Workspace > New Button > button-type
![]() |
Tip: You cannot open the attribute table of a button without pausing the KB. If a button's attribute table is visible while the KB is running, however, you can edit its attributes.
Common Attributes of Buttons
Buttons have the following class-specific attributes. Attributes unique to a particular button are explained in the sections describing that button.
Providing a Label for the Button
The optional Label attribute provides a textual description for the button, which you enter as a text string within quotation marks (" "). The default is none. Representing the Variable or Parameter
The Variable-or-parameter attribute indicates which variable or parameter receives a value when the user clicks on the button. This is a required attribute for check boxes, radio buttons, sliders and type-in boxes, but is not applicable to action buttons. The default is none. on, and a rule sets the variable or parameter to its off value, G2 sets the check box to off. Similarly, if two check boxes exist for the same variable, turning off one turns off the other, unless the check boxes have different on or off values.