Sign in Join
FPDoc Onlineexperiment

TRadioGroup.OnClick property

Member of TRadioGrouppublishedIn unit ExtCtrls

Event called when the selected item is changed.

Declaration

pascal
property OnClick:;

Description

OnClick is different from the usual event TControl.OnClick. Instead of occurring on a mouse click on the control, this event is occurs when the currently selected item changes. It will not occur if a click does not make the selection change, will not occur upon clicking a already selected item and will occur if one changes the selection via the keyboard. It also occurs when the item is changed programmatically. This is done for Delphi compatibility.

Note that Lazarus also offers another event for the same task with a better name: see OnSelectionChanged for more details.

This description is the one of ExtCtrls.TCustomRadioGroup.OnClick.

See also

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