How to: Copy Selected Text in TextEdit Control
The following sample code verifies whether any text is selected in a TextEdit control and, if so, copies the selected text onto the Clipboard.
The following sample code verifies whether any text is selected in a TextEdit control and, if so, copies the selected text onto the Clipboard.