ibec_CopyToClipboard

Puts a copy of a specified string in the clipboard.

Syntax

  function ibec_CopyToClipboard(StringToCopy : string; Encoding : integer) : Boolean;

ibec_CopyToClipboard puts a copy of the string specified by the StringToCopy parameter in the clipboard. The Encoding parameter specifies encoding of the StringToCopy and can be __seAnsi or __seUTF8.

Example

  execute IBEBlock
  as
  begin
     vcresult = ibec_CopyToClipboard('Copy To Clipboard', __seUTF8);
     if (vcresult) then
       ibec_ShowMessage('Specified string copied to clipboard');
     else
       ibec_ShowMessage('Error: NOT copied to clipboard');
  end

See also:
ibec_Copy

back to top of page
<< ibec_Copy | IBEBlock | ibec_Decode >>