Loading...
Loading...
Loading...
The Button component on a script page adds a clickable button to trigger an action. A button can display an alert message, navigate to a different page, set the value of a variable, or trigger a custom action.
Font settings modify the visual appearance of text. Change the font face and size. Apply bold, italics, or underlining in any combination. Justify the alignment of text within a surrounding container.
Several components have a Text property that you can change, usually by double-clicking the component in design mode:
Button—double-click to rename "Submit" to something else.
Radio button or Checkbox—double-click to change "Label" to a more descriptive name.
The Click Action property allows you to select an action to perform when a button, link, or image is clicked.
Use the menu to select whether the action opens a URL or performs another type of Action.
Sets background or text color to one of the following:
To set the background color of an entire page, assign a background color to its root vertical container.
Configures width to a fixed size, to grow as needed to display content, or to consume as much space as possible relative to other components, using weighting to influence size adjustments.
Configures height to a fixed size, to grow as needed to display content, or to consume as much space as possible relative to other components, using weighting to influence size adjustments.
Aligns a component to the left, right, or center, relative to its parent container.
Auto Sizing. To correct this, set the parent container's Height to Stretch or to a fixed height in Pixels.Margins set left, right, top, and bottom spacing around a border.
The Visible property sets the visibility of a component based on the value of a Boolean (True or False) variable or an expression.
To set the Visible property based on a variable:
To set the Visible property based on an expression:
At runtime, the component is visible when the expression is True. The component is hidden when the expression is False.
Several components have a Text property that you can change, usually by double-clicking the component in design mode:
Button—double-click to rename "Submit" to something else.
Radio button or Checkbox—double-click to change "Label" to a more descriptive name.
Sets background or text color to one of the following:
To set the background color of an entire page, assign a background color to its root vertical container.
Live Region is a Yes/No toggle that allows screen readers to automatically announce all content changes in the component.
The Click Action property allows you to select an action to perform when a button, link, or image is clicked.
Use the menu to select whether the action opens a URL or performs another type of Action.
All components are enabled by default. The Disabled property binds a True/False variable to a component, to disable or enable it based on the runtime value of the variable.
To test your work, click Preview.
Get user feedback about articles.