Clipboard.Close

From Xojo Documentation

Method

Clipboard.Close()

Supported for all project types and targets.

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