Method DragDataObject():queryGetFormat() Foundation
Check whether a format is available for retrieval with :getData().
:queryGetFormat( <nFormatId> ) --> lAvail :queryGetFormat( <cFormatName> ) --> lAvail
|XBPCLPBRD_TEXT||Data in ASCII text format|
|XBPCLPBRD_BITMAP||Graphic data in a bitmap format|
|XBPCLPBRD_METAFILE||Graphic data in a meta file format|
|XBPCLPBRD_FILELIST||List of files dragged over from the Windows Shell|
:queryGetData() returns a logical value that indicates whether the data can be retrieved in the format specified.
The method :queryGetData() can be used to check whether the data encapsulated by the DragDataObject instance is available in a certain format. Often, the same data is available through a DragObject in several formats at once. An image may be retrieved as a bitmapped image or as a meta file. It is recommended to use :queryGetData() instead of making assumptions about the format the data can be retrieved in.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.