Difference between revisions of "SetClipboard"
From SCAR Divi Manual
| Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
| − | procedure SetClipboard(const | + | procedure SetClipboard(const Str: string); |
</source> | </source> | ||
| Line 8: | Line 8: | ||
==Description== | ==Description== | ||
| − | This function sets the content from the clipboard to an [[string]] ''' | + | This function sets the content from the clipboard to an [[string]] '''Str'''. This function erases all previous content in the clipboard. |
==Example== | ==Example== | ||
Revision as of 16:07, 4 April 2012
Definition
procedure SetClipboard(const Str: string);
Availability
SCAR Divi 3.25 > Current
Description
This function sets the content from the clipboard to an string Str. This function erases all previous content in the clipboard.
Example
begin
SetClipboard('Test');
WriteLn(GetClipboard);
end.