RAD Studio VCL Reference
|
Indicates what TCustomFileRun should do with the target file.
property Operation: String;
__property AnsiString Operation;
Set Operation to indicate what should be done with the target file when TCustomFileRun fires. The possible values for Operation depend on the particular file or folder specified by FileName or selected by the user when Browse is true. The possible operations for a particular file or folder are listed in the system Registry.
The following strings are usually valid:
Value |
Meaning |
edit |
TCustomFileRun opens an editor. If FileName is not an editable file, the action fails. |
explore |
TCustomFileRun launches the Windows explorer for the folder specified by FileName. |
open |
TCustomFileRun opens the file specified by FileName. FileName can be an executable file, a file associated with an application that can open it, or a folder. |
print |
TCustomFileRun prints the file specified by FileName. If FileName is a binary file (for example, if it is an executable), the action fails. |
properties |
TCustomFileRun displays the file or folder's properties in a Properties dialog. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|