The Checkbox is box, with a built in label, the user can place a tick mark (or check-mark) in. It is often used to enable or disable features. The Checkbox control can send a message to a connected device whenever the selection changes. Its run-time properties can be referenced in command messages.

Design-time properties for the Checkbox control
CheckedThe initial state of the checkbox
CheckStateThe initial state of the tri-state checkbox
CheckAlignThe alignment of the check box relative to its label
TextThe checkbox label text
ThreeStateIf true, the checkbox switches between unchecked, indeterminate and checked when clicked. If false, it changes between checked and unchecked
OnCheckChangedSendThe command message to send, if any, to a connected serial device when the check state is changed
Run-time properties for the Checkbox control
NameRead onlystringThe name of the control
CheckedRead/writeboolTrue if the control is checked; false otherwise
Run-time properties common to most controls
VisibleRead/writeboolHide/show the control
EnabledRead/writeboolEnable/disable the control. When a control is disabled it is visible but shown grayed out and you can't interact with it.
ForeColorRead/writestringAdjust the foreground color
BackColorRead/writestringAdjust the background color
Recent Posts

Leave a Comment

Start typing and press Enter to search