================================================================== SAS/AF Software: FRAME Applications Development Concepts Publication book code: 55376 SAS ONLINE SAMPLES INSTRUCTIONS ================================================================== This file provides instructions for using the SAS Online Samples that accompany the FRAME Application Development Concepts book. To use the example catalog entries and data sets described in the book, you must download the SAS binary transport file B55376. __________________ PREREQUISITES Refer to "Appendix 4: Hardware and Software Requirements for FRAME Entries" for information on the environment required to run the SAS Online Samples for this book. ___________________________________________ DOWNLOADING AND SETTING UP THE SAMPLES 1. Receive the file into a directory on your local machine. 2. Start a SAS session. 3. Restore the SAS binary transport file. You can use Program Editor to submit the code: /* Substitute the path name of your SASUSER directory for 'your-SASUSER-directory-path' and the appropriate path name and filename for 'your-downloaded-file-location' */ libname new 'your-SASUSER-directory-path'; filename trans 'your-downloaded-file-location'; proc cimport library=new infile=trans; run; 4. Assign a libref named SAMPSIO to provide access to some of the sample data sets. libname sampsio 'your-SASUSER-directory-path'; 5. Refer to the book for additional information on working with the samples. ________________________________________________ SAMPLES INCLUDED IN THE B55376 TRANSPORT FILE This section describes the SAS Online Samples that accompany the examples in the book. The example name is listed along with a brief description of the example, the LIBNAME and CATALOG you must reference, and the entries that comprise the sample. Download this file using anonymous FTP or the SAS Online Samples web page. Using Anonymous FTP ------------------- 1. Connect to ftp.sas.com. 2. When prompted, enter anonymous as your user-id and your email address as your password. 3. Change to the publications directory: pub/publications 4. Issue the command: binary 5. Get the B55376 file: get B55376 Using the SAS Online Samples web page ------------------------------------- 1. Go to this web page: http://ftp.sas.com/samples/ 2. Right click on the file, B55376. 3. Select Save...As and provide the file name where the file will be stored on your system. Event Handling ================================================================= Description: Demonstrates how to send and receive events In libname.catalog: SASUSER.APPDEV Entries used: EVENT.FRAME EVENT.SCL Creating a Custom Class Entry ================================================================ Description: Demostrates subclassing of the Icon class In libname.catalog: SASUSER.MENUICN Entries used: MENUICON.CLASS MENUICON.SCL MICNATTR.FRAME MICNATTR.SCL Creating Two Subclasses of the Object Class ================================================================ Description: Creates a subclass of the Object class called TIMER which performs stopwatch functions. Also creates a subclass of TIMER called HTIMER to record interval history. In libname.catalog: SASUSER.TIMER Entries used: TIMER.CLASS TIMER.SCL HTIMER.CLASS HTIMER.SCL Sales Trend Analysis ================================================================ Description: Shows how to build a complete FRAME entry app that contains a variety of objects In libname.catalog: SASUSER.APPDEV Entries used: SALES.FRAME SALES.SCL Requires: CARS data set (in libref named SAMPSIO) Menu Using the Menu Icon Class ================================================================ Description: Completed application driven by icons from a main menu In libname.catalog: SASUSER.APPDEV Entries used: SELECT.FRAME ICON1.PROGRAM ICON2.FRAME Requires: Entries in SASUSER.MENUICN Defining a Drag Site and a Drop Site ================================================================ Description: Demonstrates how to define a drag site and a drop site In libname.catalog: SASUSER.EXAMPLE Entries used: DND.FRAME DND.SCL DNDMETHS.SCL