Vcl.ActnMenus.TCustomActionMainMenuBar.PersistentHotKeys

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PersistentHotKeys: Boolean read FPersistentHotKeys write SetPersistentHotKeys;

C++

__property PersistentHotKeys;

Properties

Type Visibility Source Unit Parent
property public
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomActionMainMenuBar

Description

Specifies whether keyboard accelerator shortcuts are always displayed.

Vcl.ActnMenus.TCustomActionMainMenuBar.PersistentHotKeys inherits from Vcl.ActnMan.TCustomActionBar.PersistentHotKeys. All content below this line refers to Vcl.ActnMan.TCustomActionBar.PersistentHotKeys.

Specifies whether keyboard accelerator shortcuts are always displayed.

Use PersistentHotKeys to specify whether the action band always displays keyboard accelerator shortcuts. Setting PersistentHotKeys to True causes the underline for the keyboard shortcut key to always appear. If PersistentHotKeys is set to False, the underline for the keyboard shortcut key is only displayed if the user has used the keyboard to navigate through the action band's items. If the user is only using the mouse to navigate through the action band's items and PersistentHotKeys is set to False, the underline under the character denoted as the shortcut key is not drawn.

Note: Accelerator shortcuts are specified by preceding the appropriate character in the item's caption with an ampersand.

See Also