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

TCustomGrid.AdjustClientRect

Adjusts the client rectangle and sets the grid flag to reflect the change.

Declaration

Source position: grids.pas line 953

protected procedure TCustomGrid.AdjustClientRect(

  var ARect: TRect

); override;

Arguments

ARect

  

Client rectangle adjusted in the method.

Description

AdjustClientRect is an overridden method used to adjust the client rectangle for the control, and set the grid flag to reflect the change. Calls the inherited method on entry. Updates the GridFlags property to included the value gfClientRectChange.

See also

TCustomGrid.GridFlags

  

Contains grid-specific state flags active for the control.

TGridFlagsOption

  

Represents state flags used in a grid control.

TWinControl.AdjustClientRect

  

Override this method when the ClientRect for a control differs from the default value.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.