Button Control
The Button control is an action control used to execute certain actions. When dragging a Field of type Button onto the canvas, the properties displayed will be specific to that Field.
How to use the Button control
- Create a View
- Drag the Button control onto the canvas. The control can be found in the Action section of the Controls found in the View Designer, see the Properties section below
- Configure the properties as required
- Run the View
Considerations
- The Button control is also available in the Form Designer
- The Button is most commonly used to action an event that has been set up in the Rules Designer
- The default event is the Click event and is set up automatically when selecting the Button and adding the Rule from the Rules tab on the property grid of the View or Form Designer
- Focus can be set to this control at runtime by using the Focus control method in the Rule Designer
Design Properties
The Button control is available in the Action section of the Controls found in the View Designer and Form Designer.
Properties | Description | Can be set in runtime using Rules |
---|---|---|
Name | A unique identifier for the selected control. This property is required | No |
Text | The text to be displayed during runtime | Yes, see Control Properties Actions for more information |
Tooltip | The value to be displayed when the cursor is hovered over the control during runtime | Yes, see Control Properties Actions for more information |
Width | Adjust the width of the control (any whole percentage up to 100%, number or pixel value up to 32767px) | Yes, see Control Properties Actions for more information |
Tab Index | Used to define a sequence that users follow when they use the Tab key to navigate through a page at runtime | Yes, see Control Properties Actions for more information |
Visible | A Boolean value used to establish whether the control is visible during runtime | Yes, see Control Properties Actions for more information |
Enabled | A Boolean value used to establish whether the control is enabled during runtime | Yes, see Control Properties Actions for more information |
Styles | Opens the Style Builder enabling the user to specify style features like Format, Font, Borders, Padding and Margins. See the Style Builder topic for more information on styling options | No |
Conditional Styles | Opens the Conditional Formatting Designer used to design styles that will apply only when certain conditions are met. See the Conditional Styles section for more information | No |