Custom menus in the User Interface developer sample form

Microsoft Office InfoPath

Show All Show All

Custom menus in the User Interface developer sample form

Microsoft Office InfoPath 2003 provides the ability to control where and how you want menu items to appear within the user interface, primarily by enabling or disabling them on various built-in menus used with a form. Some of the menus that you can customize include View, Insert, and Table, as well as shortcut menus that are displayed when a user clicks the shortcut menu button associated with a certain repeating table, repeating section, or optional section. Menus can be customized for repeating tables, repeating sections, optional sections, and views.

Note  Many of the other standard InfoPath menus can also be customized; the User Interface developer sample form demonstrates how to customize a select few.

Several custom menus are implemented in the User Interface developer sample form. The following table lists the views, tables, and sections of the User Interface developer sample form, along with the custom menu items that were implemented for each of them.

NameTypeCustom menu items
CD CollectionViewCD Collection menu item on the View menu.
All TracksViewAll Tracks menu item on the View menu.
CDRepeating sectionCD menu item on the Section submenu of the Insert menu.

Insert CD above, Insert CD below, and Remove CD menu items on the shortcut menu for the CD table.

TrackRepeating tableTrack menu item on the Section submenu of the Insert menu.

Insert Track menu item on the shortcut menu for the CD table.

Insert Tracks and Remove Tracks menu items on the Table menu.

Insert Track above, Insert Track below, and Remove Track menu items on the shortcut menu for the Track table.
LabelOptional sectionLabel menu item on the Section submenu of the Insert menu.

Insert Label menu item on the shortcut menu for the CD table.

Remove Label menu item on the shortcut menu for the Label control.

Note  When you customize menus in InfoPath, those customizations are applied at the view level. This means that the customizations you make are not globally applied to all views. To apply the same custom menus to more than one view, you must make the menu customizations in each view.

ShowCustomizing the View menu

ShowCustomizing the Insert menu

ShowCustomizing the Table menu

ShowCustomizing shortcut menus