|
|
|
SmartMenuXP
Reference
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.
Syntax
object.Align [= number]
The Align property syntax has these parts:
| Part |
Description |
| object |
An object expression that evaluates to a SmartMenuXP object. |
| number |
An integer that specifies how an object is displayed, as
described in Settings. |
Settings
The settings for number are
| Constant |
Setting |
Description |
| VbAlignNone |
0 |
(Default) None — size and location can be set at design
time or in code. |
| VbAlignTop |
1 |
Top — object is at the top of the form, and its width is
equal to the form's ScaleWidth property setting. |
| VbAlignBottom |
2 |
Bottom — object is at the bottom of the form, and its
width is equal to the form's ScaleWidth property setting. |
| VbAlignLeft |
3 |
Left — object is at the left of the form, and its height is
equal to the form's ScaleHeight property setting. |
| VbAlignRight |
4 |
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
0-vbAlignNone.
Remarks
If Align is set to vbAlignNone, the menu bar
resizes in order to accomodate all top menu items.
|
|