Re: Splash screen - Conclusion

"James H. H. Lampert" <jamesl-6/ELSmrcqeUu8xhjR5IN5AC/[email protected]> Tue, 18 Jan 2011 11:21:47 -0800
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Well, with a little help from the List, I was able to measure the amount 
of time it was up, by doing a MATMDATA before and after the meta-data 
processing.

Once the meta-data is processed, I write the splash screen again, and 
repeat for the remainder of the desired dwell-time, with one-second 
WAITTIMEs between the writes. If the INVITE has been responded to, a 
write will fail, throwing a catchable exception, in which case I read 
the splash screen back.

If the user has pressed <Enter>, I dismiss the splash screen 
immediately. If the user has pressed <Help> or any function key, I write 
the screen again, and immediately read it back, causing it to dwell 
until the user dismisses it with an AID key.

It's still in the prototype stage, and there's obviously the potential 
for trouble if the user hits an AID key after the last write, but before 
the next screen comes up.

--
JHHL
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.