|
>I would like to build a display file that includes a subfile so that >it will continuously update on the screen until a users presses F3. >Any suggestions? You really hate your users, don't you? The problem with auto-refresh programs is that, unless they are written very carefully, they run away with all the resources in the system. You need to change the job to lower the priority, shrink the timeslice, or both. Then restore same when F3 is pressed. That said, it's not hard to write a program that just says, "WRITE... WRITE... WRITE..." which will give you the updates... just stick it in a loop. As far as the subfile is concerned, consider a 2-subfile display file. Load SFL-A, display it, load SFL-B, display it, repeat. Lets the screen remain static as you load the next update, instead of blanking out. If you want the user to be able to scroll up and down at the same time, you could do a READ with timeout; if the user didn't key anything in x seconds, you'd update and go on. --Paul E Musselman PaulMmn@ix.netcom.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.