Button

A standard button sends a single value each time that it is pressed. While a button can be linked to a device parameter, it is more typically linked to a system function.

Controls can be managed in the Custom Panel designer and, once the Custom Panel is activated, utilized by the end user. This control must be linked to a parameter to function properly.

On the following example, if “Preset 1” button is pushed, the 1st preset is selected for DriveRack #1. If “Preset 2” button is pushed, the 2nd preset is selected. Each button push overrides the value of the previous button push.

Property Type Options

General

Graphical user interface, application Description automatically generated

Control Info: Shows control type.

  • Read only
Locked: Specifies if the control is locked out so that it cannot be moved or re-sized.

  • Checked = Locked
  • Unchecked = Unlocked

Parameters

Graphical user interface, application Description automatically generated

Addresses: Enables panel designer to edit addressing information with the added benefit that the values can be validated as a group before being applied to the device.

This editor also allows the user to assign multiple parameters to the control.

Click to select Parameter Address Editor.

  • Properties correspond to the system explorer
Information: Shows information about the Parameter Address.

  • Read only. Properties correspond to the system explorer
Press Value: Value sent when button is pressed
System Functions: Brings up the System Function editor.
Reset Text: Optional text to display in right click context popup

System Functions

Graphical user interface, application Description automatically generated

System Functions: Assign specific system operations to be performed when the button is pressed.

Brings up the System Function editor.

Appearance

Graphical user interface, text, application Description automatically generated

Location: Control location (in pixels) of the control on the Custom Panel.

Change X (horizontal) and Y (vertical) values in relation to upper left corner.

You can also drag the control to a different location.

Size: Control size (in pixels).

Change width and height values. You can also re-size the control manually

Background Image: Background graphic of control

Brings up the Select Image File window.

Tool Tip Text: Text that appears when mouse pointer hovers over control.
Tab Index: Indicates the sequence of an element within the tabbing order of all focusable elements in the document.
Tab Stop: Whether the control appears in the tab order.

  • Checked = Appears
  • Unchecked = Won’t appear

Button

Graphical user interface, application Description automatically generated

Text: Text appearing on the control. Select and type desired label.

  • Default text is “Button” with the number of the control (order added to the panel)
Font: Font style for the text on the control. Click on “…” to select desired font.

  • Selects from Windows fonts
 Text Color: Color of the text on the control
Fill Color: Changes the Fill Color of the control, will not be visible if you have an image selected.
Border Color: The color of the Button border

 

_________________

Rate this post!