Sign in Join
FPDoc Onlineexperiment

TCustomCheckBox.Toggle procedure

Member of TCustomCheckBoxprotectedIn unit StdCtrls

Alternates between the checked and the unchecked state in the control.

Declaration

pascal
procedure Toggle; virtual

Description

Calls GetChecked to retrieve the current checked State for the control. Negates the value and calls SetChecked to store the toggled state value. Called from DialogChar when the accelerator key is handled for the focused control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.