IMenuItem.DefaultItem

Syntax

DefaultItem: Boolean;

Description

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

Comments

The menu item that is executed by default is highlighted in bold.

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