ParamString property
Example |
dcFileAssociation component.
|
property ParamString: String;
|
The ParamString property determines and specifies the command-line parameters which should be transmitted to an executable file, when user starts any file, associated with this executable.
|
|
For example, you have installed the new file extension and would like to transmit to executable the name of data-file which starts your program. You must specify the "%1" parameter to the ParamString property, then, in the executable, catch the first command line parameter using ParamStr(1) routine. See FormCreate method in the sample code.
|
|
To modify the ParamString value, make sure that AccessMode is amReadWrite.
|
ExecutableFile property and example of usage.
|