Clipboard Verbs and Functions

For this topic's original documentation, see:

CLIPCLEAR Verb - Clear Clipboard Data

CLIPFROMFILE Verb - Copy File Data to Clipboard

CLIPFROMSTR Verb - Copy String to Clipboard

CLIPISFORMAT() Function - Get Clipboard Format Availability

CLIPLOCK Verb - Lock Clipboard

BBj cannot lock the clipboard, so the CLIPLOCK verb has no effect. In BBj, all clipboard-related verbs and functions should include an ERR= option because an !ERROR=92 (Clipboard unavailable) error can happen at any time.

CLIPREGFORMAT() Function - Register Clipboard Format

CLIPTOFILE Verb - Copy Clipboard Data to New String File

CLIPTOSTR() Function - Get Clipboard Data in Specified Format

CLIPUNLOCK Verb - Unlock Clipboard

BBj-Specific Information

In BBj 6.0 and higher, the BBj clipboard supports the following formats:

Format Number

Microsoft Windows Name

Comments

1

CF_TEXT

 

2

CF_BITMAP

 

7

CF_OEMTEXT

 

13

CF_UNICODETEXT

 

15

CF_HDROP

The string is assumed to be a list of filenames separated by $0D0A$.

CLIPREGFORMAT("HTML")

"HTML Format"

 

CLIPREGFORMAT("RTF")

"Rich Text Format"

 



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.