How can I use TextEdit.Copy() to copy all of the text in an textedit field?
(unknown amount of text can change at any time).
How can I use TextEdit.Copy() to copy all of the text in an textedit field?
(unknown amount of text can change at any time).
Do you want the content on the clipboard? If so, just use the .copy
method of either the textfield
or textarea
control. If you need more control over the clipboard content use the Clipboard
object.
If you just want the content in code use a dim s as string = textarea.text
construct.