IMenuItem.DefaultItem

Syntax

DefaultItem: Boolean;

Description

The DefaultItem property determines whether it is possible to execute this menu item by default when user makes double click on the parent submenu.

Comments

The menu item that is executed by default, is marked by boldface.

The submenu can have only one item that has the value of the property  DefaultItem = True. If this value is set for the second item of submenu, it should be changed automatically for the previous item DefaultItem for False.

See also:

IMenuItem