Terrapin Resources

Checkboxes

Extends: CHECKBOX > CONTROL > WIDGET

A check box is a button with a check mark that can be turned off and on. It adds the STATE property to the CONTROL properties.

A radio button is a CHECKBOX control that, together with other radio buttons, can be used to select one of several options.


STATE

Part of: CHECKBOX

Gets or sets the Selected state of a check box.

Syntax

GPROP "CHECKBOX "STATE
PPROP "CHECKBOX "STATE TRUE/FALSE

Description

STATE controls the state of a check box. Setting STATE to TRUE sets the check mark.

Examples

DRAW ; Drop a CHECKBOX widget from the Toolbox > Controls CHECKBOX dropped GPROP “CHECKBOX “STATE Result: FALSE PPROP “CHECKBOX “STATE TRUE