Programming Guide: Menus

# Programming Guide

## Menus

- Do you enable/disable menu items on the menu bar to reflect the current state of your part?

- Do you add/remove menu items on the popup menu to reflect the current state of your part?

- Do part-supplied menu items provide no more than two levels of cascaded menus?

- Do you adjust your menus for single/multiple selection?

- Do you display prompt line help for part-supplied menu items?

### Document Menu

- Have you maintained the standard Document menu except to add items that apply to the active document?

- If you are a container, do you adjust the Document menu of the current menu bar when your part is the root part, but not active?

### Edit Menu

- Have you maintained the standard Edit menu except to add items that involve changing part content?

- Does the Undo command reverse the effects of the last undoable user action and restore all parts to their states before that action?

- Does the Redo command reverse the effects of the last undo action and restore all parts to their states before that undo?

- Does the Cut command remove the selection and place it on the Clipboard?

- Does the Copy command copy the selection to the Clipboard?

- Does the Paste command place the contents of the Clipboard at the insertion point?

- Does the Paste as command display the Paste As dialog?

- Does the Paste link command insert the link from the clipboard?

- Does the Delete command remove the selection?

- Does the Select all command select all the contents of the active part?

- Does the Deselect all command remove all selections from within the active part?

- Does the Break link command remove all links from the active part?

- Does the Create command create a new instance of your part and place it on the clipboard?

- Does the Open selection command open the selected component or components into a window?

- Does the Selection properties command open a properties notebook for the selected component or components?

### View Menu

- Have you maintained the standard View menu except to add items reflecting your part's additional view support?

- Have you enabled all items on the View menu that your part supports?

### Help Menu

- Do you place your part information dialog at the end of the Help menu, after the product information dialog?

- If you supply a part tutorial, have you placed the tutorial menu item above the product and part information dialogs?

[ Top | Previous | Next | Contents | Index | Documentation Homepage ]