Sign in Join
FPDoc Onlineexperiment

TWinControl.GetAdjustedLogicalClientRect procedure

Member of TWinControlprotectedIn unit Controls

Returns the adjusted logical ClientRect, using the cached value when available.

Declaration

pascal
procedure GetAdjustedLogicalClientRect(out ARect: TRect)

Arguments

ARect

Output variable with the client bounds adjusted for borders, bevels, edges, or indentation used on the control.

Description

GetAdjustedLogicalClientRect is a method used to get the client rectangle for the control, and adjust the values for any additional space needed for the control. It calls the AdjustClientRectangle method to apply any additional spacing required for borders, bevels, edges, indentation, etc. In TWinControl, no additional space is required. Descendent classes may have different requirements.

GetAdjustedLogicalClientRect is used to implement the CheckSidePosition method in TAnchorSide.

See also

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