IMenuButton.StayPressed

Syntax

StayPressed: Boolean;

Description

The StayPressed determines whether the key should be pressed before the popup menu closes.

Comments

Pressing the button opens the context menu. If this property is set to True, after the menu opens the button remains pressed till the moment when the menu closes. If this property is set to False, after the menu opens the button returns into the initial state. The property is set to False by default.

See also:

IMenuButton