Checks whether a defined data format is supported by a drop operation.
|
Syntax:
|
DropFormat(data format, user-defined format)
|
Parameters:
|
data format – A numeric value for the data format stored in the operating system. The following data formats are:
0 – User-defined format
1 – Text
2 – OEM Text
3 – Rich Text
4 – HTML
5 – Hyperlink
6 – File name and path
7 – Unicode
user-defined format – This parameter is required when the data format parameter is set to 0 but is not relevant for other data formats.
|
Returns:
|
True value if the data format is supported.
|
Examples:
|
DropFormat(0, 'My format') returns True if the user-defined format is supported by the drag operation data.
|
Note:
|
To handle drop data of user-defined formats, you must first set the names of the expected user-defined formats in the Drop Data supported user formats environment setting.
|
Exceptions:
|
This function is not supported in Web Client tasks.
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
The Online and Rich Client Samples projects (program HG40 and RHG40)
|