Returns or sets a value that determines whether a menu is displayed in any size
anywhere on a form or whether it's displayed at the top, bottom, left, or right
of the form and is automatically sized to fit the form's width.
object.Align [= number]
The Align property syntax has these parts:
||An object expression that evaluates to a SmartMenuXP object.
||An integer that specifies how an object is displayed, as
described in Settings.
The settings for number are
||(Default) None — size and location can be set at design
time or in code.
||Top — object is at the top of the form, and its width is
equal to the form's ScaleWidth property setting.
||Bottom — object is at the bottom of the form, and its
width is equal to the form's ScaleWidth property setting.
||Left — object is at the left of the form, and its height is
equal to the form's ScaleHeight property setting.
||Right — object is at the right of the form, and its height
is equal to the form's ScaleHeight property setting.
At design time, the default Align for the SmartMenuXP is set to
If Align is set to vbAlignNone, the menu bar
resizes in order to accomodate all top menu items.