mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2024-05-12 06:50:12 +00:00
Page:
Checkbox
Pages
Align
BackStyle
BeforeInit
BeforeUnload
BeforeUpdateDisplay
Button
Caption
Checkbox
Color properties
Constants
Disabled
Events
Focus events
Font
Frame
Global Variables
HasBorder
Hidden
Home
KeyPress
Keyboard modifiers
Label
List methods
List
LoadImage
Mask
Menus
MessageBox Function
Methods
Min and Max
Mouse events
NumericTextbox
OnLoad
PasswordField
Picture box
PictureBox Drawing
Position and size
Progress bar
Properties
Radio button
SetCaption
SetFocus
Stretch
Text
TextChanged
Textbox
Toggle switch
Tool tip
Track bar
Value
ValueChanged
__UI_ prefix
__UI_ForceRedraw
__UI_KeepScreenHidden
__UI_KeyHit
__UI_UnloadSignal
5
Checkbox
Fellippe Heitor edited this page 2021-12-22 12:12:15 -03:00
Table of Contents
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.