VLButtonBar Reference

Read/Write Property Alignment

See Also See Also Applies To Applies To

Returns or sets alignment of caption text on the Button at specified text position.

 

Syntax

object.Alignment[=value]

 

The Alignment property syntax has these parts:

Part Description
Object An object expression that evaluates to the objects in Applies to list.
Value An integer specifying the appearance of the Buttons of VLButtonBar control.

 

Settings

The settings for value are:

Constant Setting Description
ConstantvlDefault 0 Caption is aligned using value of ButtonCaptionAlignment property of VLButtonBar control.
ConstantvlLeftJustify 1 Caption is aligned to the left in the Button.
ConstantvlCenter 2 Caption is centred in the Button.
ConstantvlRightJustify 3 Caption is aligned to the right in the Button.