Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.AnchorToCompanion

Anchor to Sibling at Side, with the same extent.

Declaration

Source position: controls.pp line 1583

public procedure TControl.AnchorToCompanion(

  Side: TAnchorKind;

  Space: Integer;

  Sibling: TControl;

  FreeCompositeSide: Boolean = True

);

Arguments

Side

  

The side to anchor to the sibling.

Space

  

The minimum space to Sibling.

Sibling

  

The sibling control to which we should anchor.

Description

Table or tree style anchoring, into a neighbor cell of Sibling. Obtain the row height (or column width) from Sibling.



CT Web help

CodeTyphon Studio