CheckBox.SetBoolean

From Xojo Documentation

Method

Checkbox.SetBoolean(Value as Boolean)

Supported for all project types and targets.

Sets the Checkbox to the passed Boolean value.

Example

This example is in the Action event of Checkbox2. It causes Checkbox1 to display the same value as Checkbox2. When Checkbox2 is clicked, Checkbox1 changes its value to be in sync.

CheckBox1.SetBoolean(Me.Value)