This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
forked from FellippeHeitor/InForm
-
Notifications
You must be signed in to change notification settings - Fork 1
Checkbox
Samuel Gomes edited this page Nov 25, 2022
·
2 revisions
Checkboxes allow users to choose settings that are binary in nature (true/false, yes/no, enabled/disabled).
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.