Ribbon button items only support the use of DIESEL string expressions. A
menu or ribbon button item is marked in one of two ways:
■ A check mark. Displayed when a menu item does not have an image
associated with it.
■ A border. Displayed when a menu or ribbon button item has an image
associated with it; a border is displayed around the image.
Following is an example of the Edit menu with the OLE Links command
marked with a check mark and the Copy Link command's image marked with
a border:
Menu items can and ribbon button items must contain DIESEL string
expressions to conditionally mark them each time they are displayed. When
the following DIESEL string is added to the Macros cell for the applicable
command in the Properties pane, a check mark is placed to the left of the
menu item whose related system variable is currently enabled.
$(if,$(getvar,orthomode),!.)Ortho^O
$(if,$(getvar,snapmode),!.)Snap^B
$(if,$(getvar,gridmode),!.)Grid^G
Control the Display of Command Items | 115