Mouse Assignment
Users of TXTextControl position the caret, select text and move images and other objects with the mouse. The table lists each mouse action, and a few scroll and zoom keys, with what the control does in response.
Mouse Actions
| Mouse action | What TXTextControl does |
|---|---|
| Click | Moves the cursor to the point of the click or selects an image or text frame. |
| Click and drag | Selects text from the point where the button is pressed to the point where it is released, or moves an image, text frame, signature field or OLE object. |
| SHIFT + click | Extends the selection to the point of the click. |
| Double-click | Selects the word that is clicked on. |
| Double-click and drag | Extends the selection from word to word. |
| Triple-click | Selects the paragraph that is clicked on. |
| Triple-click and drag | Extends the selection from paragraph to paragraph. |
| PgUp / PgDown | Scrolls the text up or down by the height of the client area minus the height of one line of text. Active only if a vertical scroll bar exists. |
| CTRL + PgUp / PgDown | Zooms the current document up or down. |
| SHIFT + PgUp / PgDown | Scrolls the document horizontally. |
| Drag and drop on selected text | Moves the selected text to the drop position of the mouse (text drag and drop). |
| CTRL + drag and drop on selected text | Copies the selected text to the drop position of the mouse (text drag and drop). |
| Click on the selection bar (left or right margin) | Selects the complete row. |