Re: Splash screen with timeout and invite, in MI?

"James H. H. Lampert" <jamesl-6/ELSmrcqeUu8xhjR5IN5AC/[email protected]> Fri, 14 Jan 2011 16:31:27 -0800
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Experimental result:

I tried replacing the FRCDTA keyword with an INVITE keyword. Results 
were interesting:

The screen still comes up with the keyboard lock indicator off. Which is 
to be expected, and the same as it was with FRCDTA.

If I press an AID key while the splash screen was up, the keyboard lock 
indicator comes on. Again, the same behavior as with FRCDTA.

If I let it default to bringing up the data screen (UDDS, through a 
separate display file), then the data screen comes up, whether I've hit 
an AID key or not.

But if I override it, e.g.:
     VIEW FILE(WTDEVELOP/WTNOTE) SCREEN(*ATTR)
and press an AID key while the splash screen is up, then as soon as the 
Field Attributes screen (an ordinary record in the same DSPF as the 
splash screen) tries to come up, it throws a CPF4737,

 > Output file VIEW in library AQVW830 on program device DSP05 not done.
 > An outstanding input operation has been completed. Send a READ to the
 > program device DSP05 to receive available data before sending another
 > output operation.

So I can definitely detect that an AID key has been pressed before the 
timeout interval.

--
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.