System.Actions.TCustomShortCutList

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TStringListSystem.Classes.TStringsSystem.Classes.TPersistentSystem.TObjectTCustomShortCutList

Delphi

TCustomShortCutList = class(TStringList)

C++

class PASCALIMPLEMENTATION TCustomShortCutList : public System::Classes::TStringList

Properties

Type Visibility Source Unit Parent
class public
System.Actions.pas
System.Actions.hpp
System.Actions System.Actions

Description

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