|
Hi Pratheb: Following are the keywords that you can use in a display file: PAGEDOWN/PAGEUP (Page down/Page up) keywords for display files Use these file- or record-level keywords to specify that you want to use your program to handle any situation where the work station user has pressed the pagedown or pageup keys and the OS/400 program cannot page through the display. If this situation occurs and you have not specified this keyword (whichever one is appropriate), the OS/400 program sends an error message indicating that the key is not valid at that time. The format for each of these keywords is: PAGEDOWN [(response-indicator [*text *])] PAGEUP [(response-indicator [*text *])] You can specify a response indicator with these keywords. If you do, and the appropriate Page key is pressed, the OS/400 program sets on the specified response indicator within the input record and returns control to your program after it processes the input data. If you do not specify a response indicator and the specified Page key is pressed, the OS/400 program performs normal input record processing. These keys cause data to be returned from the display device to your program (similar to command function (CF) and Enter keys). The ROLLUP keyword cannot be specified with PAGEDOWN. The ROLLDOWN keyword cannot be specified with PAGEUP. Note: PAGEDOWN is the same as ROLLUP; PAGEUP is the same as ROLLDOWN. -------------------- You can use a Count variable to know the number of times a Page down or Page up key has been pressed. Hope this helps... Regards, Hrishikesh Kotwal >From: "pratheb nadarajah" <NPRATHEB@xxxxxxxxxxx> >Reply-To: RPG programming on the AS400 / iSeries <RPG400-L@xxxxxxxxxxxx> >To: rpg400-l@xxxxxxxxxxxx >Subject: counting page down and page up keys >Date: Fri, 19 Sep 2003 09:38:43 +0530 > >Hello Members, > >Is there a way possibly a feature in the display file where i can >find the number of times the page down or page up key is pressed. > >Thanks > >Pratheb Nadarajah. > >_________________________________________________________________ >MSN Hotmail now on your Mobile phone. >http://server1.msn.co.in/sp03/mobilesms/ Click here. > >_______________________________________________ >This is the RPG programming on the AS400 / iSeries (RPG400-L) >mailing list >To post a message email: RPG400-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/rpg400-l >or email: RPG400-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/rpg400-l. > ---------------------------------------------------------------------- Interact with peers. Learn from experts. Be tech-empowered!
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.