Anchor Property (APanel)

Returns or sets the anchor type of a Panel control as a container.

Syntax

[ enAnchor = ]Object.Anchor

The Anchor property syntax has the following parts:

 

Name]

Type

Description

Object

APanel

APanel control

enAnchor

enumAControlAnchor

an anchor type  

Example

The following example will set the anchor type of a panel control object:

apanel.Anchor=actrlAnchorTop

Applies to

APanel

See Also

AlignPaddingBottom, AlignPaddingLeft, AlignPaddingRight, AlignPaddingTop