Sign in Join
FPDoc Onlineexperiment

TRadioButton.ApplyChanges procedure

Member of TRadioButtonprotectedIn unit StdCtrls

Updates the state for sibling radio buttons in the parent.

Declaration

pascal
procedure ApplyChanges; override

Description

ApplyChanges is an overridden method in TRadioButton. ApplyChanges ensures that other radio buttons in the Parent control are unchecked when the current class instance is Checked.

The siblings controls are normally unchecked by methods in the widgetset class. ApplyChanges performs the actions needed when a handle has not been allocated for the control (widgetset class). This involves iterating over the controls in Parent, and setting the Checked state for sibling TRadioButton instances to False.

ApplyChanges is called when the value in the State property is changed.

See also

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