mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 14:18:18 +02:00
Docs: LCL/controls. Adds content in the DefaultSideForAnchorKind topic.
This commit is contained in:
parent
c61ff37cf8
commit
f614fbc25b
@ -27696,9 +27696,58 @@ Used in the AnchorDocking package for the Lazarus IDE.
|
||||
|
||||
<element name="DefaultSideForAnchorKind">
|
||||
<short>
|
||||
Provides adjacent edges where controls are aligned for a given anchor kind.
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>DefaultSideForAnchorKind</var> 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:
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<b>Anchor Kind</b>
|
||||
</td>
|
||||
<td>
|
||||
<b>Default Side</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
akTop
|
||||
</td>
|
||||
<td>
|
||||
asrBottom
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
akLeft
|
||||
</td>
|
||||
<td>
|
||||
asrBottom
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
akRight
|
||||
</td>
|
||||
<td>
|
||||
asrTop
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
akBottom
|
||||
</td>
|
||||
<td>
|
||||
asrTop
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
Used in the <file>ldocktree</file> unit and in the TControl.AnchorToNeighbour
|
||||
method.
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user