RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomHotKey.Create Constructor

Instantiates an accelerator key control.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TCustomHotKey(TComponent * AOwner);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!