Skip to content

Checkbox

Samuel Gomes edited this page Feb 12, 2024 · 2 revisions

Checkboxes allow users to choose settings that are binary in nature (true/false, yes/no, enabled/disabled).

checkbox

The user is presented with a box that is either empty or checked followed by a label indicating the setting that is being edited.

At design time, you can set the Value property to True or False to have it saved with a checkmark preset. At runtime, user manipulation triggers the ValueChanged event, and you can read the .Value property which will return either True or False.

UserChoice%% = Control(ControlID).Value

By using the SetCaption method, you can define a hot-key shortcut by placing an ampersand character before the letter you with to be assigned as a shortcut (Alt+letter) for your CheckBox control.

Properties editable at runtime

Clone this wiki locally