Sign in Join
FPDoc Onlineexperiment

TAnchorSide.CheckSidePosition function

Member of TAnchorSidepublicIn unit Controls

Checks for anchor cycles and invalid targets, and returns information about the target side.

Declaration

pascal
function CheckSidePosition(NewControl: TControl; 
 NewSide: TAnchorSideReference; 
 out ReferenceControl: TControl; 
 out ReferenceSide: TAnchorSideReference; 
 out Position: Integer): Boolean

Arguments

NewControl
NewSide
ReferenceControl

The control we are anchored to.

ReferenceSide

The side we are anchored to.

Position

Position of the side to anchor to.

Function result

False when errors have been found.

Description

Nothing more than the line above yet.

Errors

Can raise an exception with the message: 'TAnchorSide.CheckSidePosition invalid Side'.

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