CLIPREGFORMAT() Function - Register Clipboard Format
Syntax
CLIPREGFORMAT (name$[,ERR=lineref])
Description
For BBj-specific information, see the Clipboard Verbs and Functions.
The CLIPREGFORMAT() function is used to register clipboard formats, which must be defined before data can be placed on the clipboard. To Windows, the string is case-insensitive. Therefore, "MY FORMAT" cannot be used, if an existing format were named "my format." The return value is a unique number used to define the format of data to be placed on the clipboard. If the format has already been registered, its existing format number is returned. Unlike other clipboard functions and verbs, the clipboard does not need to be locked before using CLIPREGFORMAT().
Parameter |
Description |
---|---|
name$ |
Clipboard format to be registered. |
ERR=lineref |
Branch to be taken if an error occurs during execution. |