[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TAnchorSide.CheckSidePosition

Check for anchor cycles and invalid targets, and return information about the target side.

Declaration

Source position: controls.pp line 837

public function TAnchorSide.CheckSidePosition(

  NewControl: TControl;

  NewSide: TAnchorSideReference;

  out ReferenceControl: TControl;

  out ReferenceSide: TAnchorSideReference;

  out Position: Integer

):Boolean;

Arguments

ReferenceControl

  

The control we are anchored to.

ReferenceSide

  

The side we are anchord to.

Position

  

Position of the side to anchor to.

Function result

False when errors have been found.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.