MenuItem.BeginGroup Property
Visio Automation Reference |
Determines whether a menu item or toolbar item appears at the beginning of a group of items on the menu or toolbar. Read/write.
Version Information
Version Added: Visio 2002
Syntax
expression.BeginGroup
expression A variable that represents a MenuItem object.
Return Value
Boolean
Remarks
If you set the BeginGroup property of a MenuItem or ToolbarItem object to True, a separator is inserted into the menu or a spacer is inserted into the toolbar preceding this item.
Note |
---|
In Microsoft Visio 2000, the only way to create a separator in a menu or a spacer in a toolbar was to add a dummy item with a CmdNum property of zero, a Caption property that contained "", and an empty MenuItems or ToolbarItems collection. This technique continues to work in later versions. |
See Also