|
Summary
This property is used to check if it is currently possible to capture incoming data to a file.
Description
The boolean CaptureData property is used to check if it is possible to start capturing incoming data to a disk file at that specific time. An application may want to enable or disable a menu
item depending on the value of the CaptureData property. The InCaptureData property can be used to check if the capture of incoming data is currently enabled or disabled.
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
Menu_Edit_Item(5).Enabled = (Vt220Client.CaptureData = True)
|