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