enumAControlAnchor Enum |
Version 5 |
Integer constants specifying the type of anchor position.
Name |
Value |
Description |
actrlAnchorNone |
0 |
None. Do not anchor to the control container/form. |
actrlAnchorTop |
1 |
Top. Anchor to the top of the control container/form. |
actrlAnchorBottom |
2 |
Bottom. Anchor to the top of the control container/form. |
actrlAnchorLeft |
4 |
Left. Anchor to the left side of the control container/form. |
actrlAnchorRight |
8 |
Right. Anchor to the right side of the control container/form. |
actrlAnchorAll |
15(0xF) |
All. Anchor to all sides of the control container/form. The same as actrlAnchorTop or actrlAnchorBottom or actrlAnchorBottom or actrlAnchorRight |
When the container window is sized the control that belong to the container will maintain a fixed distance from it specified size (top, bottom, right or). Any combination can be specified. For example actrlAnchorTop or actrlAnchorBottom or actrlAnchorRight.