Date: Fri, 4 Oct 1996 13:03:56 +0000
Reply-To: wood-st@cityscape.co.uk
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Phil Mason <wood-st@CITYSCAPE.CO.UK>
Organization: Phil Mason SAS Consulting
Subject: SASTip: Drag & Drop example
--------------------
---> What is it <---
--------------------
SAS provide some example code that uses drag & drop. This includes
the SCL code required, which enables you to see how it is done. I
found this quite useful in understanding drag & drop within SAS.
-------------------------
---> How do I use it <---
--------------------=----
If SAS is installed in C:\SAS then issue the following code:
*** Start Code ***;
libname demo 'c:\sas\graph\sample' ;
dm 'afa c=demo.grfobj.dnd.frame' ;
*** End Code ***;
--------------------------
---> Comment about it <---
--------------------------
* From this app you can drag a dataset name from the DATA SETS list
box and drop it on the data table.
* You can also highlight 2 columns in the data table and drag them
onto the graph.
* Additionally, selecting from PLOT TYPE, STAT TYPE or SORTING STYLE
will affect the graph.
* The example makes use of 2 sub-classes (see the Resource entry).
The source code for the subclasses is in LB.CLASS/LB.SCL and
LYOUT.CLASS/LYOUT.SCL