RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQuery.Create Constructor

Creates an instance of a query component.

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

Call Create to instantiate a query at runtime. Query components placed in forms or data modules at design time are created automatically. 

AOwner is the component that is responsible for freeing the query. It becomes the value of the Owner property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!