To drag and drop text from the editor:
![]() |
cut to OLE or copy to OLE to either cut or copy the selected text, but hold the mouse down. The cursor changes to indicate ownership by OLE. cut to OLE, the original text in the Text Editor is deleted.
If you chose copy to OLE, the original text remains in the Text Editor, but is deselected.
Copy to OLE and Cut to OLE work differently from most other menu items. Most menu items perform their action when you click (depress and then release) the mouse. Dragging and dropping text happens with the mouse down. For this reason, the Copy to OLE and Cut to OLE menu choices begin dragging your text as soon as you depress the mouse on the menu option. To avoid dragging text unintentionally, hold the mouse down until the cursor changes into the drag-in-progress shape (an arrow with a rectangle underneath). Then move the mouse to where you want to drop the text, and release the mouse.
When text is dragged and dropped into G2, what happens depends on which item the mouse is over at the time of the drop.
Dragging and Dropping G2 Items
In addition to the cut to OLE and copy to OLE text operations, you can also drag and drop G2 items between one G2 process and another. This feature is described in Chapter 51, G2 to G2 Interface.