From 776fcae8e8ec9146906820810c4b408bd968d45d Mon Sep 17 00:00:00 2001 From: dsiders Date: Mon, 18 Mar 2024 06:42:10 +0100 Subject: [PATCH] Docs: LCL/controls. Adds content in the DefaultSideForAnchorKind topic. (cherry picked from commit f614fbc25be4c4dd82fca59cd1b06fe73ee90529) --- docs/xml/lcl/controls.xml | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/docs/xml/lcl/controls.xml b/docs/xml/lcl/controls.xml index 606358104f..030588c60e 100644 --- a/docs/xml/lcl/controls.xml +++ b/docs/xml/lcl/controls.xml @@ -27696,9 +27696,58 @@ Used in the AnchorDocking package for the Lazarus IDE. +Provides adjacent edges where controls are aligned for a given anchor kind.

+DefaultSideForAnchorKind is an array type which contains +TAnchorSideReference values, The values are accessed using the enumeration +values in TAnchorKind, and indicate the edge on a control where an adjacent +control is aligned for the anchor kind. For example: +

+ + + + + + + + + + + + + + + + + + + + + +
+Anchor Kind + +Default Side +
+akTop + +asrBottom +
+akLeft + +asrBottom +
+akRight + +asrTop +
+akBottom + +asrTop +
+

Used in the ldocktree unit and in the TControl.AnchorToNeighbour method.