TXTextControl.TXTextControl.Clip Method

Performs Text Control clipboard actions.

Syntax

TXTextControl.Clip Action
Parameter Description
1

Cuts out the selected text and copies it to the clipboard.

2

Copies the selected text to the clipboard.

3

Pastes text from the clipboard.

4

Clears the selection.

Return Value

This method has no return value.

Data Types

Action    Integer

Example

This Basic example copies the selected text from a Text Control named "TXTextControl1" to the clipboard when the user selects the "Edit/Copy" menu item:

Sub mnuEdit_Copy_Click ()
   TXTextControl1.Clip 2
End Sub

See Also