Vcl.ComCtrls.TCustomHotKey.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomHotKey(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomHotKey(HWND ParentWindow) : Vcl::Controls::TWinControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomHotKey |
Description
Instantiates an accelerator key control.
Call Create to instantiate an accelerator key control at runtime. For accelerator key controls added at design time, Create is called automatically.
AOwner is the component, typically the form, that is responsible for freeing the hotkey instance. It becomes the value of the Owner property.