Vcl.ActnMan.TCustomActionBar.PersistentHotKeys
Delphi
property PersistentHotKeys: Boolean read FPersistentHotKeys write SetPersistentHotKeys;
C++
__property bool PersistentHotKeys = {read=FPersistentHotKeys, write=SetPersistentHotKeys, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ActnMan.pas Vcl.ActnMan.hpp |
Vcl.ActnMan | TCustomActionBar |
Description
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.