[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdCtrls' (#lcl)

# TButtonControl.DoOnChange

Signals the OnEditingDone and OnChange event handlers (when assigned).

## Declaration

Source position: stdctrls.pp line 1188

`protected procedure TButtonControl.DoOnChange; virtual;`

## Description

DoOnChange performs actions needed when the button control is clicked. DoOnChange calls EditingDone to signal the OnEditingDone event handler (when assigned). The OnChange event handler is also signalled (when assigned).

DoOnChange is called from the Click method before the inherited method in TControl is executed. DoOnChange performs no actions at design-time, during component streaming, or when the component is freed.

## See also

TButtonControl.OnChange |  | Event handler signalled when the button control is clicked.
TControl.EditingDone |  | Signals the OnEditingDone event handler.
TControl.OnEditingDone |  | Event handler signalled when editing is completed for the control.
TControl.Click |  | Signals OnClick and/or executes the ActionLink when the control has been clicked.
TComponent.ComponentState