Clipboard.Close

From Xojo Documentation

Revision as of 21:32, 9 December 2020 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

Clipboard.Close()

Supported on Desktop.

Closes the Clipboard which enables other Clipboard objects or other programs to access the Clipboard’s data. This function only affects Windows and is automatically called by the Clipboard’s Destructor.

Sample Code

This code gets the text on the Clipboard and copies it to a variable.

Var c As New Clipboard
Var s As String = c.Text
c.Close