API:Vcl.ActnList.TShortCutList

From RAD Studio API Documentation
Jump to: navigation, search

System.Actions.TCustomShortCutListSystem.Classes.TStringListSystem.Classes.TStringsSystem.Classes.TPersistentSystem.TObjectTShortCutList

Delphi

TShortCutList = class(TCustomShortCutList)

C++

class PASCALIMPLEMENTATION TShortCutList : public System::Actions::TCustomShortCutList

Properties

Type Visibility Source Unit Parent
class public
Vcl.ActnList.pas
Vcl.ActnList.hpp
Vcl.ActnList Vcl.ActnList

Description

Manages a list of keyboard shortcuts.

Vcl.ActnList.TShortCutList inherits from System.Actions.TCustomShortCutList. All content below this line refers to System.Actions.TCustomShortCutList.

Manages a list of keyboard shortcuts.

TCustomShortCutList is a specialized list for storing TShortCut values. TCustomShortCutList is the type of the SecondaryShortCuts property.

TCustomShortCutList is a descendant of TStringList, which manages a collection of strings. As such, TCustomShortCutList adds, deletes, and searches for shortcuts using their text representation. TCustomShortCutList stores shortcuts that correspond to a text representations as values of the Objects property for these strings. Do not change values of the Objects property, or the shortcut list will not operate correctly.

The Add method, to add TShortCut values to the TCustomShortCutList list, is implemented on each GUI application framework: FMX.ActnList.TShortCutList.Add and Vcl.ActnList.TShortCutList.Add.

See Also