TextEdit.Paste

From Xojo Documentation

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

TextEdit.Paste()

Supported for all project types and targets.

Pastes the styled or unstyled text on the Clipboard into the editing area at the insertion point, adding the text to the existing text.

Notes

When pasting into a TextArea, if the text is styled, the style information is preserved.

Example

This example pastes the contents of the Clipboard into TextArea2 at the insertion point.

TextArea2.Paste