|
Summary
Check if data capture is enabled.
Description
The boolean InCaptureData property is used to check if incoming data is currently being captured to a disk file. An application may want to check or uncheck a menu item depending on the value
of the InCaptureData property. The CaptureData property can be used to check if it is possible to start capturing incoming data to a disk file at that specific time.
To start data capture, the DataCapture method must be called with the CaptureFile parameter set to an empty string (or the VtAction property must be set to VT_CAPTURE_DATA). To stop the data
capture, the DataCapture method must be called again with the CaptureFile parameter set to an empty string (or the VtAction property must again be set to VT_CAPTURE_DATA). Any data that was
displayed on the VT220 emulation window between these two actions will be captured and saved to a disk file.
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.InCaptureData = True Then MsgBox "Data capture is in progress", 64, "Sample Program" End If
|