Sign in Join
FPDoc Onlineexperiment

TWinControl.GetPreferredSizeClientFrame procedure

Member of TWinControlprotectedIn unit Controls

Calculates the width and height for the frame area around the control.

Declaration

pascal
procedure GetPreferredSizeClientFrame(out aWidth: Integer; 
 out aHeight: Integer); virtual

Arguments

aWidth

Width used for the frame around the control.

aHeight

Height used for the frame around the control.

Description

Calculated as follows:

  • AWidth is the difference between Width and ClientWidth.
  • AHeight is the difference between Height and ClientHeight.

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