Sign in Join
FPDoc Onlineexperiment

TScrollingWinControl.GetLogicalClientRect function

Member of TScrollingWinControlprotectedIn unit Forms

Returns the logical size of the client area on the control.

Declaration

pascal
function GetLogicalClientRect: TRect; override

Function result

TRect instance with the client rectangle adjusted for scroll bars visible on the control.

Description

GetLogicalClientRect is an overridden method in TScrollingWinControl; it re-implements the method introduced in the ancestor class. The return value contains the value in the ClientRect property. It ensures that the Right and Bottom members in the return value are updated (when needed) to reflect the current Range values for the respective visible scroll bars.

See also

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