### Change State

To change the state of a CheckBox via code, use
CheckBox1.Checked = Not(CheckBox1.Checked)
This can be applied to Mouse or CheckBox Change Events, like
`Sub MainForm_MouseClicked (EventData As MouseEvent)
CheckBox1.Checked = Not(CheckBox1.Checked)
End Sub`
`Sub CheckBox1_CheckedChange(Checked As Boolean)
Log("CheckBox1 state changed to: " & Checked)
End Sub`

Changed: , Category: CheckBox, File: T6C171M1246.htm, ID: 1246