!--a11y-->
Properties of a Button Control 
By modifying the values for the properties listed here, you design a button control for a specific context.
Button property |
Action |
|
Anchor |
Leave this field blank. Buttons cannot be assigned a data source. |
|
Button Image |
If you want to customize this button control, then you need to associate the custom resource. For more information, see Working with the Resource Editor. |
|
Button Type (required) |
Choose: ·
OK, Cancel, Search, Clear or Select, if you want to perform any one of these actions
on a Choice, Find or
Custom Popup tile. You do not need to write a script. · Custom, if you want to write script to define specific behavior. The button triggers an onClicked event.
Change the label of the button based on the button type. |
|
Is Default |
Set this value to true, if you want the button to be selected by default. This enables the user to press the Enter key to execute the button’s function, irrespective of where he or she is on the tile.
There can be only one default button on a tile. |
|
Label (required) |
Enter the text that to be displayed on the button. |
|
Mode (required) |
Set the mode for the control. |
|
If set to … |
Then the user … |
|
Normal |
Can choose the button to perform an action. |
|
Readonly |
Sees a disabled button. |
|
Hidden |
Does not see the button. |
|
Name (required) |
Enter a name for the button control with the assigned namespace. This name is used to access the control within the code. |
|
Tab Order |
Enter a number that represents the tabbing sequence. This number determines the order in which the user navigates between controls using the Tab key. |
|
Top, Left, Bottom, Right (required) |
Set the coordinates based on the position of the control.
You cannot change the value of the Bottom property. Its value is a fixed number and is always equal to the value of the Top property. |
|
See also: