IMenuItem.CloseOnCommand

Syntax

CloseOnCommand: Boolean;

Description

The CloseOnCommand property determines whether menu closes after selection of this menu item.

Comments

The property is set to True by default, the menu closes after selection of the menu item. If the property is set to False, the menu remains opened after selection of the menu item.

See also:

IMenuItem