Progress
Programming
Handbook
Output to the Clipboard
In general, you use the CLIPBOARD system handle to write output to the system clipboard (in graphical environments) or Progress clipboard (in character environments). However, on Windows, you can use the OUTPUT TO statement to redirect output to the system clipboard using the “CLIPBOARD” option (quotes required). This allows you to use Progress output statements (such as DISPLAY) to buffer up to 64K of data to the clipboard. You send the buffered data to the clipboard by changing or closing the output destination (using the OUTPUT CLOSE statement). For more information on changing and closing the output destination, see the "Sending Output to Multiple Destinations" section. For more information on using the CLIPBOARD system handle for output (and also input), see the Progress External Program Interfaces manual.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |