LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 1998, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 24 Mar 1998 17:54:55 +0100
Reply-To:     heite@CANADAJAPANSWEDENpost1.tele.dk
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Karsten Heitmann <heite@CANADAJAPANSWEDENPOST1.TELE.DK>
Organization: Sadly disorganized
Subject:      SAS-Tip: SAS/AF - Placing cursor in field using the CURSOR
              function when frame is MAXIMIZED.
Content-Type: text/plain; charset=us-ascii

Hi, all

It seems that positioning the cursor in a certain field doesn't work if your frame is maximized. You can issue as many CURSOR OBJ1 statements as you like without any luck. No matter WHAT you do it always positions itself in the upper left corner. You may also have noticed that the "workaround" is to make a ZOOM OFF command prior to issuing the CURSOR statement. But that is ugly, isn't it ? And sometimes the bottom of your frame is gone.

So here's the TIP:

Suppose I want to place the cursor in the first field in the frame:

INIT: call execcmdi('COMMAND BAR;COMMAND CLOSE); /* Why turning the command bar on and off suddently makes the cursor move to the first widget in the frame is anybodys guess */ return;

You might notice a short flicker, but I'll choose that any day over the ugly zooming-down business. This places the cursor in the FIRST widget in the frame rather than in the upper left corner. So for all those applications where this is the desired cursor behaviour it should work.

Best regards, Karsten Heitmann

------------------------------------------------------------------- Please remove country names in my email address before replying. This is done to avoid spam. -------------------------------------------------------------------


Back to: Top of message | Previous page | Main SAS-L page