Vcl.ComCtrls.TCustomHotKey.HotKey

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property HotKey: TShortCut read GetHotKey write SetHotKey default $0041; { Alt - A }

C++

__property System::Classes::TShortCut HotKey = {read=GetHotKey, write=SetHotKey, default=65};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomHotKey

Beschreibung

Enthält die aktuelle Tastenkombination des Tastenkürzel-Steuerelements.

Mit HotKey können Sie dem TCustomHotKey-Objekt eine Tastenkombination zuweisen. Voreinstellung ist ALT+A. Einen neuen Wert können Sie entweder direkt eingeben oder der Eigenschaft Modifiers zuweisen. Zur Laufzeit wird HotKey gesetzt, wenn das Tastenkürzel den Fokus hat und der Benutzer eine gültige Tastenkombination eingibt.

Siehe auch

Codebeispiele