Clipboard.Close

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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