Clipboard.Copy |
Top Previous Next |
Copies a string value to the clipboard.
Syntax function Clipboard.Copy(StringToCopy: string): boolean function Clipboard.Copy(StringToCopy: string; Encoding: integer): boolean
Alternative Names
Description Copies a string value to the clipboard, optionally in a specific encoding.
StringToCopy holds a string value.
Encoding holds one of the predefined encoding constants:
The Return Value is TRUE for a successful execution, FALSE otherwise.
See Also
Example execute UDSBlock returns (str_value varchar(100)) as begin Clipboard.Copy('this is on the clipboard now');
str_value = Clipboard.Paste(); suspend; /* returns the value on the clipboard */ end |