[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomUpDown.AlignButton

AlignButton - how to align the button: left or right.

## Declaration

Source position: comctrls.pp line 1991

`protected property TCustomUpDown.AlignButton : TUDAlignButton read FAlignButton write SetAlignButton default udRight;`

## Description

AlignButton is a TUDAlignButton property which specifies the alignment for the speed buttons on the control relative to the Associate control. The default value for the property is udRight, and causes the buttons to be aligned on the right-hand edge of the Associate control. Changing the value for the property causes the control to be resized and realigned to the Associate control.

See TUDAlignButton for the values allowed in the property and their meanings.

## See also

TCustomUpDown.Associate |  | Control used to display and edit the Position for the control.
TUDAlignButton |  | Contains values used to align the buttons on a TUpDown control.