Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TGraphicControl.DoOnChangeBounds

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

Declaration

Source position: controls.pp line 2393

protected procedure TGraphicControl.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

TGraphicControl.Canvas

  

A clipped window into the parent Canvas.

TControlCanvas.FreeHandle

  

Frees the Handle for the control canvas, and its device context when assigned.

TControl.DoOnChangeBounds

  

Signals OnChangeBounds event handlers for the control.

TControl.OnChangeBounds

  

Event handler signalled when the Bounds for the control have been changed.

TControl.ChangeBounds

  

Sets the bounds (left, top, height, width) and optionally the BaseBounds of the control.

TControl.LoadedAll

  

Called when the control and its child controls have been loaded, and their control state is changed.

TControlFlag

  

Flags values used mostly for pending actions in a control.



CT Web help

CodeTyphon Studio