RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOpenTextFileDialog.Create Constructor

Creates and initializes a TOpenDialog instance.

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

Create generates a TOpenDialog instance, but the new dialog does not appear on the form at runtime until the Execute method is called. 

AOwner is the component that is responsible for freeing the TOpenDialog 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!