Alignment Property

Applies To: ComboPlus, ComboDBPlus

object.Alignment [= number]

The Alignment property syntax has these parts:
object Required. An object expression that evaluates to an object in the Applies To list.
number A member of the VBRUN.AlignmentConstants enum as described below.

Availability:
Design Time:   Read / Write
Run Time   :   Read-Only

Settings:
For ComboPlus and ComboDBPlus controls, the settings for number are:
Constant Setting Description
vbLeftJustify 0 Text is left-aligned within the TextBox portion of ComboPlus. (Default)
vbRightJustify 1 Text is right-aligned within the TextBox portion of ComboPlus.
vbCenter 2 Text is centered within the TextBox portion of ComboPlus.

Remarks:
The Alignment Property applies to the Textbox portion of ComboPlus and ComboDBPlus controls only and has no effect on the list portion of these controls.

Samples:

ComboPlus1.Alignment = vbLeftJustify 'See Below


ComboPlus1.Alignment = vbRightJustify 'See Below

ComboPlus1.Alignment = vbCenter 'See Below