TextEdit.Copy

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

TextEdit.Copy()

Supported for all project types and targets.

Copies the selected text in the TextArea to the Clipboard, including the styled text information.

Example

This example copies the selected text and places it on the Clipboard.

TextArea1.SelStart = 0
TextArea1.SelLength = 10
TextArea1.Copy