TCnRadioButton.AutoCheck Property

Gets or sets a value indicating whether the Checked value and the appearance of the control automatically change when the control is clicked.

Namespace: CNClrLib.Control.RadioButton
published
 property AutoCheck: Boolean read GetAutoCheck write SetAutoCheck default True;

Property Value

Type: Boolean

true if the Checked value and the appearance of the control automatically change on the OnClick event; otherwise, false. The default value is true.

If the Checked value is set to false, the TCnRadioButton portion of the control must be checked in code in the Click event handler. In addition, if the TCnRadioButton is part of a TCnRadioButton control group, this property ensures that only one of the controls is checked at a given time.

If the AutoCheck property is set to false, a group of TCnRadioButton controls will not act as a mutually exclusive group and the Checked property must be updated in code.