Button

Estimated reading: 2 minutes 1966 views

The button control is used to trigger actions such as OK, Cancel, or Clear, based on the specified configuration.

Properties

Appearance

BGColor: Choose the background color from the color wheel to be displayed for the timer box. 

BorderThickness(px): Specify the border thickness value in pixels. The order of the border will be (left, top, right, bottom).

FONT

FontColor: Choose the font color from the color wheel for the text/ value to display.

FontName: You can choose the font name from the drop-down for the text/ value to display.

FontSize: Specify the font size for the text/value to display.

FontStyle: Choose the font style from the drop – down,

  1.  Normal
  2.  Italic
  3.  Oblique

FontWeight: The thickness/ weight of the font can be selected from the drop-down. 

GENERAL PROPERTIES

FormName: Autofills to whichever form the control is dropped into.

TabIndex: Specifies the position to which the cursor has to move when the tab on the keyboard is used. 

Type: This is auto populated once the button control is selected.

INPUTS

ButtonJson: This option allows viewing the button’s output in JSON format whenever it is selected by the user during automation.

ControlName: Default name given to the control used.

DisplayText: Specifies the text on the button which can be customized. 

EventType: Specifies the action the bot has to perform when the button is clicked. 

  • Ok
  • Cancel
  • Clear
  • None

FilePath: Specify the file path of an image if required to be displayed on the button. 

IsFocusable: When enabled, the button remains visible on the screen and is ready for user interaction.

Stretch:

TextAlignment: Choose to align the text to the left, center or right. 

VariableName:  Declare a variable here to return/fetch the value of the button. Click here to know more. 

POSITION (px)

Left : Increasing the count will move the control to the right side. Decreasing the count will move it to the Left side.

Top: Increasing the count will bring the control down and decreasing the count will move the control up. 

SIZE (px)

Height: You can increase or decrease the height of the box. 

Width: You can increase or decrease the width of the box. 

Share this Doc

Button

Or copy link

CONTENTS