8
Right-Click Menu for Scripted Toolbar Buttons 741
• Mode (Paint, Blend [Paint Blend
Weig hts=on])
R ight -Click Menu f or Scri pted
Toolba r But tons
Any toolb ar > Right-click a b utton that is implemented by
a script. > Pop-up button menu
When you rig ht-click a toolbar button that is
implemented by a macro scr ipt, a pop-up menu
appears.
Edit B utton Appearance—Displays the Edit Macro
Button dialog, which lets you change t he button’s
appearance and its tooltip. This is documented
in the
MAXScript Reference:
see Customizing
MacroScript Buttons.
Delete B utton—Deletes the button from the
toolbar.
Note: There is no Undo for Delete Button, although
Customize > Revert To Startup Layout will restore
the toolbar to its ori ginal appearance.
E dit Macro Script—Opens a MAXScript Editor
window, which lets you e dit the button’s script.
Customize —Opens the
To o l b a r s p an e l ( p age
3–838)
of the Customize User Inter face dialog,
which lets you customize the contents of the
current toolbar (or any other toolbar).
Qua d M enu
Whenyouclicktherightmousebuttonanywhere
in an act ive view por t, except on the viewport label
(see
View por t Right-Click Menu (page 3–774)
),
a
quad menu
is displayed at the location of the
mouse curs or. The quad menu c an display up
to four quadrant areas with various commands.
These commands can be customized on the
Quads panel (page 3–839)
of the
Customize User
Interface dialog (page 3–836)
.
Thequadmenuallowsyoutofindandactivate
most commands without having to travel b ack
and forth between the viewport and rollouts on
the comma nd panel.
The two right quadrants of the default quad menu
display generic commands, which are shared
between all objects. The two left quadrants
contain context-specific commands, such as mesh
tools and light commands. Each of these menus
provides convenient access to functions found in
the command panel. You can also repeat your
last quad menu command by clicking the title of
the quadrant.
The quad menu contents depend on what is
selected,aswellasanycustomizationoptions
you may have selected in the Quads panel of the
CustomizeUIdialog. Themenusaresetupto
displayonlythecommandsthatareavailablefor
the current selection; therefore, selecting different
types of objects displays different commands
in the quadrants. Consequently, if no object is
selected, all of the object-specific commands w i ll
be hidden. If all of the commands for one quadrant
are hidden, the quadrant will not b e displayed.
Cascading menus display submenus in the same
manner as a right-click menu. T he menu item that
contains submenus is highlighted when expanded.
The submenus are highlighted when you move the
mouse cursor over them.