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

# TControl.DoOnChangeBounds

Signals OnChangeBounds event handlers for the control.

## Declaration

Source position: controls.pp line 1381

`protected procedure TControl.DoOnChangeBounds; virtual;`

## Description

DoOnChangeBounds ensures that cfOnChangeBoundsNeeded is removed from the flag values for the control. DoOnChangeBounds signals the OnChangeBounds event handler (when assigned) using the control instance as the Sender for the event notification. Calls DoCallNotifyHandler to signal any handler routines using the chtOnChangeBounds handler type.

## See also

TControl.CheckOnChangeBounds |  | Checks for changes and calls DoOnChangeBounds if needed.
TControl.OnChangeBounds |  | Event handler signalled when the Bounds for the control have been changed.
TControl.DoCallNotifyHandler |  | Signals handler routines for the specified control handler type.
TControlHandlerType |  | Notification handler types.