RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomFileRun.Create Constructor

Creates an instance of TCustomFileRun.

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

Most applications do not need to call the TCustomFileRun constructor because actions are added at design time to an action list or action manager.  

AOwner specifies the Owner for the action. This is the component that is responsible for freeing the TCustomFileRun instance. 

Create initializes the action's properties and creates a default TOpenDialog instance to act as the value of the BrowseDlg property. 

 

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