Difference between revisions of "SetClipboard"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure SetClipboard(const Text: AnsiString); </source> ==Availability== SCAR Divi 3.25 > Current ==Description== This funct...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
procedure SetClipboard(const Text: AnsiString);
+
procedure SetClipboard(const Str: string);
 
</source>
 
</source>
  
Line 8: Line 8:
  
 
==Description==
 
==Description==
This function sets the content from the clipboard to an [[AnsiString|string]] '''Text'''. This function erases all previous content in the clipboard.
+
This function sets the content from the clipboard to a [[string]] '''Str'''. This function erases all previous content in the clipboard.
  
 
==Example==
 
==Example==

Latest 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 a string Str. This function erases all previous content in the clipboard.

Example

begin
  SetClipboard('Test');
  WriteLn(GetClipboard);
end.

See Also