The button element adds a button component to a project’s interface, and triggers events upon being pressed or released.
The button element is located in the Element Toolbox within Studio’s Application tab.
The following properties can be changed for the button element:
The name of the element.
The state of the button on the interface: visible or hidden.
The text displayed on the button. This text will appear on the button within Application tab’s app builder.
The text size and font. This is written with the text size (in pixels) followed by the font (e.g.
The text color. Selecting this field displays a color picker to choose a color.
The following triggers are available to execute events from within the button element:
Execute an event when the source element connected to the button triggers.
Execute an event when the button is pressed.
Execute an event upon release after the button has been pressed.
Execute an event when a mouse cursor hovers over the button.
The following abilities are available for the button element when its source element triggers:
Trigger the element(s) that follow the button element.
Set the button’s text.
|Set Text Arguments|
|Text||String||Text the button displays.||
Hide the button.
Display the button.
Set the button’s visibility: visible or hidden.
|Set Visible Arguments|
|Visible||Boolean||The argument will be true or false.|