Version 6.3.8 for Windows
 —  Dialog Component Reference  —

CLOSE-CLIPBOARD Action

This document covers the following topics:


Description

Closes the local clipboard and places the contents of the local clipboard on the Windows clipboard, thus making the data available for pasting into other applications.

After calling this action, no further calls to SET-CLIPBOARD-DATA may be made until the local clipboard is re-opened via the OPEN-CLIPBOARD action.

Note that if data for a drag-drop operation is being prepared in the BEGIN-DRAG event, this call is not necessary, because you usually don't need or want to also make the transferred data available for pasting. Drag and drop can (and normally does) work directly with the local clipboard. See the GET-CLIPBOARD-DATA action for more information on this topic.

Top of page

Parameters

Name/Data Type Explanation
Response (I4) Output

Natural error (if applicable).

Example:

 /* Empty the Windows clipboard
PROCESS GUI ACTION OPEN-CLIPBOARD GIVING #RESPONSE
PROCESS GUI ACTION CLOSE-CLIPBOARD GIVING #RESPONSE

 

Top of page