home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!usc!howland.reston.ans.net!paladin.american.edu!auvm!COMPUSERVE.COM!76666.136
- Message-ID: <921230211359_76666.136_CHL73-1@CompuServe.COM>
- Newsgroups: bit.listserv.sas-l
- Date: Wed, 30 Dec 1992 16:14:00 EST
- Reply-To: Patrick Spreng <76666.136@COMPUSERVE.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Patrick Spreng <76666.136@COMPUSERVE.COM>
- Subject: Cursor Position in FSEDIT Called from AF
- Lines: 48
-
- SAS/FSP and SAS/AF Version 6.07
-
- Amnon Igra writes:
-
- > I am using the call fsedit function in a SAS AF SCL program. When I use it
- > without specifying a screen, then the cursor automatically is placed on the
- > first variable in the default screen, and the tab key takes the cursor to the
- > next variable just like I want it to.
- >
- > When I specify a screen, and then modify the screen using SAS FSEDIT screen
- > modify menu, I no longer get the cursor to work as before. I don't think I
- > should have to write another SCL program in FSEDIT. Can anyone help me figure
- > out why the cursor no longer responds to the tab key, and why it no longer is
- > initially placed on the first screen variable? Thanks very much!
-
- I know of two ways to change the cursor position. One is
- documented on page 269 of "SAS/FSP Software Usage and
- Reference." The CURSOR command is entered while you are in the
- FSEDIT window and changes the default cursor position used each
- time an observation is displayed.
-
- The other way is to add the CURSOR SCL statement to the INIT
- section of your program. This is documented on page 134 of
- "SAS Screen Control Language Reference." This is the method
- that I use when I'm developing FSEDIT applications called from
- SAS/AF version 6.07 under MVS.
-
- FSEINIT:
- return;
- INIT:
- cursor wvarname;
- return;
- MAIN:
- ...
-
- I hope that this is helpful in your situation of SAS 6.04.
-
- ---------------------------------------------------------------
-
- Bruce Zak ^
- Systems Specialist / \
- Lone Star Gas Company ( + )
- Dallas, Texas ---
-
-
-
- Distribution:
- >INTERNET:SAS-L@OHSTVMA.BITNET
-