VLButtonBar Reference

Read/Write Property ButtonCaptionAlignment

See Also See Also Applies To Applies To

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

 

Syntax

object.ButtonCaptionAlignment[=value]

 

The ButtonCaptionAlignment 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 centred in the Button.
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.