Xbasic
CLIPBOARD.HAS_DATA Function
Syntax
Result_Flag as L = CLIPBOARD.Has_Data([N cb_type])
Arguments
- cb_type
A number that specifies the type of data in the Clipboard. Valid values for Clipboard_Format are:
- Format
- Value
- Text
1
- DIB (Device Independent Bitmap )
8
- DIF (Data Interchange Format)
5
- SYLK
4
- TIFF
6
Description
The CLIPBOARD.HAS_DATA() method returns .T. or .F. depending on whether the clipboard has data of the type specified by Clipboard Format.
Example
? clipboard.Has_Data() = .T. ? clipboard.Has_Data(6) = .F.
Limitations
Desktop applications only.
See Also