Moving Menu & Toolbar Items
Drag & Drop
The Visual Designer supports moving menu and toolbar items via drag & drop. With drag & drop you can:
- Move menu and toolbar items within the same menu or toolbar.
- Move menu items from one menu (or sub-menu) to another and toolbar items from one toolbar to another.
- Move menu items from a menu to a toolbar and toolbar items from a toolbar to a menu (menu item objects can be used in menus or toolbars interchangeably).
When you drag a menu item that has sub-items, the entire sub-menu is moved.
Demonstration of dragging a menu item to a new position.
Demonstration of dragging a menu item from a menu to a toolbar.
Using Code Explorer
Notice how moving a menu item via drag & drop in the designer changes the object declaration order of menu item objects in the Code Explorer. The position and order of menu and toolbar items are determined by the object nesting and object declaration order of menu item objects.
You can change the relative order of these objects using the Code Explorer's object manipulation interface. This is the same as dragging a menu or toolbar item to a different position within the same menu or toolbar.
For more information, see Object Manipulation.
Copying Items via Drag & Drop
All of the drag & drop operations supported in the Visual Designer for moving a menu or toolbar item can also be used to copy the item. To copy an item, press and hold the Ctrl key while dragging menu or toolbar items.