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 (June 2001, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 29 Jun 2001 13:38:56 GMT
Reply-To:     Jim Manganello <Jim.Manganello@US.BOSCH.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jim Manganello <Jim.Manganello@US.BOSCH.COM>
Organization: Robert Bosch Corporation
Subject:      Re: Timer in SAS/AF

"Søren Damgaard Laursen" <sdl@tdk.dk> wrote in news:9hht9m$a15$1@news.inet.tele.dk:

> Thanks for the tips supplied... > > Though I forgot to mention one thing. The control in the frame should > not be taken over by the program/code in the waitstate of the 1000 ms. > > Think of my timer as for example doing the following: > Updating a textlabel in the frame every 1000 ms with the current time, > and, this is important, without disturbing the user. Something like an > asynchronous rsubmit:-) > > By the way: Platform is Win2000, SAS 8.2 > > Regards > Søren Laursen >

If the users will be constantly interfacing with the frame, you might try adding code to the MAIN section of the SCL code.

For example: use a extended input field component (called DTIME), set the format as a datetime.

Then :

MAIN: dtime=datetime(); refresh; return;

This will keep updating as users are using the screen. It won't be automatic, but it should update every time anything is done on the frame.

Regards, Jim Manganello


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