TApxTerminal.CaptureFile

TApxTerminal

property CaptureFile : string

Default: "APRO.CAP"

Defines the name of the file where the terminal writes captured data.

It is possible to change the name of the file where captured data is sent while data is being captured. Internally, the terminal component sets the Capture property to cmOff, changes the value of the CaptureFile property to the new filename, and then sets the Capture property to cmOn again. This means that the file named by the new value of CaptureFile is created afresh. The old file, if it exists, is overwritten. If the file is to be appended with the new name, manually set Capture to cmOff, set the value of CaptureFile to the new filename, and then set Capture to cmAppend.

See also: Capture