Sign in Join
FPDoc Onlineexperiment

TControl.GetSidePosition function

Member of TControlpublicIn unit Controls

Gets the client coordinate for the specified side.

Declaration

pascal
function GetSidePosition(Side: TAnchorKind): Integer

Arguments

Side

TAnchorSide value which coordinate value is returned.

Function result

Value for the specified anchor side.

Description

The return value contains the coordinate for the anchor side indicated in the Side argument. For example:

akLeft
Returns the value in the Left property.
akTop
Returns the value in the Top property.
akRight
Returns the value in the Right property.
akBottom
Returns the value in the Bottom property.

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