RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomActionMainMenuBar.PersistentHotKeys Property

Specifies whether keyboard accelerator shortcuts are always displayed.

Pascal
property PersistentHotKeys: Boolean;
C++
__property Boolean PersistentHotKeys;

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!