Alignment Settings

 

The automatic alignment of a control container is determined by the edge parameters.

 

Property

Description

AlignBottom

Setting for the bottom edge of the control container.

0 - AlignVerTop

The distance of the bottom edge of the control container and the top edge of its reference element (set by AlignTypeBottom) is kept constant.

1 - AlignVerBottom

The distance of the bottom edge of the control container and the bottom edge of its reference element (set by AlignTypeBottom) is kept constant.

2 - AlignVerProp

The ratio of the bottom edge of the control container and the height of its reference element (set by AlignTypeBottom) is kept constant.

4 - AlignVerMiddle

The bottom edge of the control container (set by AlignTypeBottom) is kept centered.

5 - AlignVerPropForm

The ratio of bottom edge of the control container to the vertical height of window (top formular) is kept constant.

 

 

AlignTypeBottom

AlignTypeLeft

AlignTypeRight

AlignTypeTop

 

Setting for the type of reference element

0 – AlignTypeParent

The reference element is the parent control or formular.

1 – AlignTypeMe

The reference element is the control container itself.

2 – AlignTypeControl

The reference element is another control container.

 

 

AlignElementBottom

AlignElementLeft

AlignElementRight

AlignElementTop

 

The name of the reference control, if the type of reference is AlignTypeControl.

AlignLeft

Setting for the left edge of the control container.

0 – AlignHorLeft

The distance of the left edge of the control container and the left edge of its reference element (set by AlignTypeLeft) is kept constant.

1 - AlignHorRight

The distance of the left edge of the control container and the right edge of its reference element (set by AlignTypeLeft) is kept constant.

2 – AlignHorProp

The ratio of the left edge of the control container and the width of its reference element (set by AlignTypeLeft) is kept constant.

4 - AlignHorMiddle

The Left edge of the control container (set by AlignTypeLeft) is kept centered.

5 - AlignHorPropForm

The ratio of left edge of the control container to the horizontal width of window (top formular) is kept constant.

 

 

AlignRight

Setting for the right edge of the control container.

0 – AlignHorLeft

The distance of the right edge of the control container and the left edge of its reference element (set by AlignTypeLeft) is kept constant.

1 - AlignHorRight

The distance of the right edge of the control container and the right edge of its reference element (set by AlignTypeLeft) is kept constant.

2 – AlignHorProp

The ratio of the right edge of the control container and the width of its reference element (set by AlignTypeLeft) is kept constant.

4 - AlignHorMiddle

The right edge of the control container (set by AlignTypeLeft) is kept centered.

5 - AlignHorPropForm

The ratio of right edge of the control container to the horizontal width of window (top formular) is kept constant.

 

 

AlignTop

Setting for the bottom edge of the control container.

0 - AlignVerTop

The distance of the top edge of the control container and the top edge of its reference element (set by AlignTypeBottom) is kept constant.

1 - AlignVerBottom

The distance of the top edge of the control container and the bottom edge of its reference element (set by AlignTypeBottom) is kept constant.

2 - AlignVerProp

The ratio of the top edge of the control container and the height of its reference element (set by AlignTypeBottom) is kept constant.

4 - AlignVerMiddle

The top edge of the control container (set by AlignTypeBottom) is kept centered.

5 - AlignVerPropForm

The ratio of top edge of the control container to the vertical height of window (top formular) is kept constant.