2012

Table Of Contents
A menu or ribbon button item can be displayed as:
Grayed out (disabled)
Marked with a check marker or border
Both grayed out and marked
Ribbon button items do not display a check mark when marked; only a border
is displayed.
NOTE To disable or mark ribbon button items, the ~ or !. sequence cannot
be placed before a command name explicitly; it must be inside a DIESEL expression.
Gray Out (Disable) Menu or Ribbon Button Items
You gray out a menu or ribbon button item by doing one of the following:
Beginning a name with a tilde (~)
Using a DIESEL string expression
Ribbon button items only support the use of DIESEL string expressions. For
more information about using DIESEL expressions, see DIESEL Expressions in
Macros. When grayed out, the macro and submenus associated with the menu
or ribbon button item are made inaccessible.
In the following example, the tilde (~) is placed at the beginning of the Copy
Link command label in the Name cell of the Properties pane.
Following is the resulting Copy Link command grayed out in the Edit menu.
Control the Display of Command Items | 165