CheckBox

Functional reference for CheckBoxObject, including its runtime role and the supported settings available in the design environment.

Updated 2 min read
On this page (7 sections)
  1. Functional explanation
  2. Object name
  3. Variable
  4. Settings
  5. Position / Size
  6. Access Control
  7. Visibility

Functional explanation

CheckBoxObject is a compact boolean control. It is useful where space is limited or where several boolean selections are shown together.

It is best for simple on or off selections and small control areas where a toggle switch would take too much room. The object should remain square so the check mark stays proportional.

Use it for compact option selection and simple boolean write operations. If the state must be very visible from a distance, ToggleObject is usually clearer.

Object name

Set the object name shown in the checkbox decorator context.

SettingDescriptionExampleUnits
Object NameName used to identify the CheckBox object.EnablePumpText

Variable

Configure the variable bound to the checked state. A click writes Set when checking and Reset when unchecking, so the field holds one writable variable name. The Variable button opens the variable list and fills in the selected name.

SettingDescriptionExampleUnits
VariableVariable bound to the checked state and written on click.PLC1.EnablePumpVariable name

Settings

Configure the checked state and animation bindings for the CheckBox object.

12 rows
SettingDescriptionExampleUnits
CheckedInitial or configured checked state.trueBoolean
On ColorColor used when the checkbox is checked.#198754Color
On Background ColorBackground color used when the checkbox is checked. A gradient can be used here as well as a single color; see the Gradients section of the Color Library article.#d1e7ddColor
On Border ColorBorder color used when the checkbox is checked.#198754Color
Off Background ColorBackground color used when the checkbox is unchecked. A gradient can be used here as well as a single color; see the Gradients section of the Color Library article.#ffffffColor
Off Border ColorBorder color used when the checkbox is unchecked.#ced4daColor
Border WidthBorder width used for the checkbox.1px
Border RadiusCorner radius of the checkbox border.4px
Width VariableAnimation binding for width.PLC1.CheckBoxWidthExpression
Height VariableAnimation binding for height.PLC1.CheckBoxHeightExpression
Top VariableAnimation binding for top.PLC1.CheckBoxTopExpression
Left VariableAnimation binding for left.PLC1.CheckBoxLeftExpression

Position / Size

Configure the position and size of the CheckBox object.

SettingDescriptionExampleUnits
TopTop position of the object.100px
LeftLeft position of the object.220px
WidthWidth of the object.24px
HeightHeight of the object.24px
Z-indexLayer order of the object. Higher values appear in front of lower values.10Number

Access Control

Configure access control for the CheckBox object.

SettingDescriptionExampleUnits
Access Control EnableEnables access control evaluation for the object.trueBoolean
Access ControlExpression controlling who can use or see the object.SYSTEM.UserGroups == "Operators"Expression
Access Control FilterCSS filter applied when access control is used to alter the object appearance.blur(0px) contrast(30%)CSS filter

Visibility

Configure the runtime visibility and blinking behavior for the CheckBox object.

SettingDescriptionExampleUnits
VisibilityExpression controlling whether the object is visible.PLC1.CheckBoxVisibleExpression
BlinkExpression or boolean controlling checkbox blinking.PLC1.AlarmActiveBoolean or expression
Blink SpeedBlink speed used during runtime.500ms
Blink OffsetBlink offset used to stagger blinking between objects.falseBoolean
Something missing or wrong in this article? Contact us