TextEdit.Paste

From Xojo Documentation

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