The following table lists the places from which you
can drag text and to which you can drop the selected text.
Summary of Text Drag and Drop Possibilities
|
|
|
another SAS window that
supports text editing (such as the Program Editor window)
|
|
another Windows application
that supports text drag and drop
|
a Windows application
that supports text drag and drop
|
any SAS window that
supports editing
|
Windows Explorer (text
file item)
|
any SAS window that
supports editing
|
To drag and drop text
from one window to another:
-
Arrange your windows,
if necessary, so that both the source and target windows are visible
on the display.
Note: Instead of arranging your
windows so that the target window is visible, the target window will
become the active window when you drag the selected text to the target
window's button on the window bar.
-
Select the desired text
from the source window.
-
Click and hold the left
mouse button with the pointer on the selected text.
-
With the mouse button
still pressed, drag the text to the target window.
-
Move the insertion point
to the position where you want to insert the text. (If you plan to
just submit the text as SAS code for processing, position the insertion
point anywhere in the window).
-
Release the mouse button.
The text is either included at the point where you positioned the
insertion point, or it is submitted to SAS for processing. (The default
action depends on the type of the target window.)
You can override the default
action of the drag and drop by initiating the drag and drop using
the right
mouse button. This action is called nondefault
drag and drop. When you drag the
selection to the target SAS window and release the mouse button, SAS
displays a popup menu to let you choose which action to perform.
Summary of Drag-and-Drop Actions
The actions that occur
when you drag text out of a SAS window into another Windows application
depend on the target application. In most cases, dragging and dropping
text between SAS and other applications actually moves the text from
one window to another (that is, the text is cut from one window and
placed in the other).
You can change that
behavior by applying a drag-modifier—a
key you press while you drag and drop. To copy text from one window
to another (instead of moving it), press and hold the CTRL key before
and during the drag and drop. When you release the mouse button to
drop the text, release the CTRL key as well.