Vcl.ActnMan.TActionClientItem.ShortCut

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShortCut: TShortCut read FShortCut write SetShortCut default 0;

C++

__property System::Classes::TShortCut ShortCut = {read=FShortCut, write=SetShortCut, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TActionClientItem

Description

Shortcut of the action client item 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 of the TActionClientItem object does not change the ShortCut of the underlying action.

If an action band contains a TCustomizeActionBars standard action, the user of the application can change this property.

Because the shortcut key can be changed at run time, the default shortcut key that will be used should be set in the action itself and not in the TActionClientItem object.

See Also