Sign in Join
FPDoc Onlineexperiment

TGraphicControl.DoOnChangeBounds procedure

Member of TGraphicControlprotectedIn unit Controls

Performs action needed when the bounds for the control have been changed.

Declaration

pascal
procedure DoOnChangeBounds; override

Description

DoOnChangeBounds is an overridden method in TGraphicControl. It calls the inherited method on entry to update control flags and signal OnChangeBounds event handlers for the control. The Handle in Canvas is freed prior to exiting from the method. The handle is re-allocated the next time it is accessed.

DoOnChangeBounds is called when the component is loaded using the LCL streaming mechanism, and from the ChangeBounds method when the control is resized.

See also

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