|
Summary
Check if data capture to CaptureFile is enabled.
Description
The boolean InCaptureDataFile property is used to check if incoming data is currently being captured to CaptureFile. An application may want to check or uncheck a menu item depending on the
value of the InCaptureDataFile property. The CaptureDataFile property can be used to check if it is possible to start capturing incoming data to CaptureFile at that specific time.
To start data capture, the DataCapture method must be called with the CaptureFile parameter set to a valid file name (or the VtAction property must be set to VT_CAPTURE_DATA_FILE). To stop
the data capture, the DataCapture method must be called again with the CaptureFile parameter set to the file name used in the first call (or the VtAction property must again be set to
VT_CAPTURE_DATA_FILE). Any data that was displayed on the VT220 emulation window between these two actions will be captured and saved to the file specified by the CaptureFile property.
There is no default value for this property. This property can only be read at run time after the emulation has been initialized and cannot be written to at any time.
Example
If Vt220Client.InCaptureDataFile = True Then MsgBox "Data capture to CaptureFile is in progress", 64, "Sample Program" End If
|