Unit 'StdCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TRadioButton.ApplyChanges

Updates the state for sibling radio buttons in the parent.

Declaration

Source position: stdctrls.pp line 1493

protected procedure TRadioButton.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

TRadioButton.Checked

  

Indicates the checked state for the control.

TCustomCheckBox.State

  

The check, unchecked, or grayed state for the control.

TCustomCheckBox.ApplyChanges

  

Sets the checked state in the widgetset class and redraws the control.

TControl.Parent

  

The control within which the control is shown.



CT Web help

CodeTyphon Studio