Prototype

TMDAutoDirection = (adTopLeft, adTopRight, adBottomLeft, adBottomRight);

Description

Determines the direction in which an auto sized control must be resized.


adTopLeft

The top-left coordinate will be recalculated.

Useful for controls that are aligned to the bottom-right of their parent.

adTopRight

The top-right coordinate will be recalculated.

Useful for controls that are aligned to the bottom-left of their parent.

adBottomLeft

The bottom-left coordinate will be recalculated.

Useful for controls that are aligned to the top-right of their parent.

adBottomRight

The bottom-right coordinate will be recalculated.

See also

TMDAutoSize

TMCustomControl.AutoSize