Untitled

(Steven Felgate) #1
Simultaneously Disable and Mark Command Items

You can mark and disable commands at the same time using either of the
following formats:

~!.labeltext
!.~labeltext

The tilde (~) is the special character code to disable a command and an
exclamation point and period (!.) is the special character code to mark a
command.

The tilde (~), exclamation point, and period (!.) are placed at the beginning
of the Copy Link command label in the Name cell of the Properties pane.
Following is the resulting Copy Link marked and grayed out in the Edit menu.

As with the previous examples, a DIESEL expression can be used to
simultaneously disable and mark a command item.

To gray out (disable) a command's menu or ribbon button label

1 Click Manage tab ➤ Customization panel ➤ User Interface.

2 In the Customize User Interface Editor, Customize tab, in the
Customizations In <file name> pane, click the plus sign (+) next to the
menu that contains the command you want to disable.

3 Select the command you want to gray out.

116 | Chapter 4 User Interface Customization

Free download pdf