RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionClientItem.ShortCut Property

Contains the ShortCut property for the action client item.

Pascal
property ShortCut: TShortCut;
C++
__property TShortCut ShortCut;

Use ShortCut to specify the ShortCut that is displayed in the caption for the UI element that is rendered on an action band. By default, the ShortCut is blank and the action manager uses the ShortCut of the underlying action that the TActionClientItem represents. Changing the ShortCut property of the TActionClientItem does not change the ShortCut of the underlying action. If an action band contains a TCustomizeBandAction standard action, the user of the application can change this property. Because the shortcut key can be changed at runtime, the default shortcut key that will be used, should be set in the action itself and not in the TActionClientItem object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!