SET TEXT TO CLIPBOARD

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


SET TEXT TO CLIPBOARD (text)

ParameterTypeDescription
textStringText whose copy is to be put into the Clipboard

Description

SET TEXT TO CLIPBOARD clears the clipboard and then puts a copy of the text you passed in text into the Clipboard.

After you have put some text into the Clipboard, you can retrieve it using the Get text from clipboard command or by calling GET CLIPBOARD ("TEXT";...).

If the text is correctly put in the Clipboard, the OK variable is set to 1. If there is not enough memory to put a copy of the text into the Clipboard, the OK variable is set to 0, but no error is generated.

4th Dimension text expressions can contain up to 32,000 characters. To copy larger text values, accumulate the text into a BLOB, call CLEAR CLIPBOARD, then call APPEND TO CLIPBOARD ("TEXT";...).

Example

See the example for the APPEND TO CLIPBOARD command.


See Also

APPEND TO CLIPBOARD, Get text from clipboard.

System Variables or Sets

If a copy of the text is correctly put into the Clipboard, the OK variable is set to 1.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next