API:Vcl.ExtActns.TFileRun.FileName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FileName: TFileName read GetFileName write SetFileName default 0;

C++

__property FileName = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtActns.pas
Vcl.ExtActns.hpp
Vcl.ExtActns TFileRun

Description

Specifies the target file to run.

Vcl.ExtActns.TFileRun.FileName inherits from Vcl.ExtActns.TCustomFileRun.FileName. All content below this line refers to Vcl.ExtActns.TCustomFileRun.FileName.

Specifies the target file to run.

Set FileName to specify the file on which TCustomFileRun performs the operation specified by Operation when the action fires. FileName can specify a file that is opened using an external application (such as a .txt file that causes a text editor to launch), or it can specify an executable file for the application itself. When the action fires in response to a user action, TCustomFileRun launches an external application or dll to perform Operation on the file specified by FileName.


See Also