From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
The text on the Clipboard.
On macOS, if you need to change the Text in the Clipboard after you have set it, you should create a new Clipboard object first.
This code is in the Action event of a button. It checks the Clipboard for text. If it finds text, it assigns it to the Text property of the TextField.