Difference between revisions of "SetClipboard"

From SCAR Divi Manual
Jump to: navigation, search
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
procedure SetClipboard(const Text: string);
+
procedure SetClipboard(const Str: string);
 
</source>
 
</source>
  
Line 8: Line 8:
  
 
==Description==
 
==Description==
This function sets the content from the clipboard to an [[string]] '''Text'''. This function erases all previous content in the clipboard.
+
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 17: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.

See Also