TRadioButton.DoClickOnChange procedure
Performs actions needed when the control has been changed using a mouse click.
Declaration
procedure DoClickOnChange; overrideDescription
DoClickOnChange is an overridden method used to signal an
OnChange event handler when the mouse is clicked on the control.
DoClickOnChange ensures the value in
TabStop is updated to reflect
the
State for the control. When State contains
cbChecked, TabStop is set to
True. Otherwise, it is set to
False.
DoClickOnChange also ensures that the correct click/change behavior is used
for the current control State. If the control is Checked, the inherited
DoClickOnChange method is called. This also emulates the Delphi click
behavior where the OnChange event handler is signalled when
ClicksDisabled is True. When the control is not Checked,
the DoOnChange method is called to signal both the
OnEditingDone and OnChange event handlers.
DoClickOnChange is called from the DoChange method in the
TCustomCheckBox ancestor class.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
