0% found this document useful (0 votes)
268 views1 page

Displaying Function Keys in Window Subfile

This document provides instructions for displaying function keys in a window subfile in RPG. It explains that normally a subfile has three record formats: the subfile record format, subfile control record format, and footer record format. To display the subfile and footer at the same time, the OVERLAY keyword is used. The same can be done in a window subfile by creating a normal window for the footer format, creating a window subfile, and specifying the footer window as the reference window for the control record format using the OVERLAY keyword.

Uploaded by

alovana
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
268 views1 page

Displaying Function Keys in Window Subfile

This document provides instructions for displaying function keys in a window subfile in RPG. It explains that normally a subfile has three record formats: the subfile record format, subfile control record format, and footer record format. To display the subfile and footer at the same time, the OVERLAY keyword is used. The same can be done in a window subfile by creating a normal window for the footer format, creating a window subfile, and specifying the footer window as the reference window for the control record format using the OVERLAY keyword.

Uploaded by

alovana
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Displaying Function keys in Window Subfile It is essential to design a good interface for your application.

I've been progr amming on RPG for three years, and I have always had a problem displaying Functi on keys in Window Subfile. I recently found a trick to solve this problem. A normal application subfile generally has three record formats -- Subfile recor d format, Subfile Control record format and Footer Record format -- to display t he function keys and messages. To display the normal Subfile and Footer record a t the same time, OVERLAY keyword is use. The same thing can be achieved in Windo w Subfile. Follow these steps: Using SDA... Create a normal window with required size, color and border. This will be footer record format, say FOOTREC. You can display the required function keys and mess age at the bottom of the window. Now create a window subfile with names of your choice. When specifying the param eters for control record format, on the screen 'Define Window Parameters' in the first parameter -- i.e. 'Reference Window' -- specify the footer record format name -- i.e. FOOTREC -- and leave the rest of the parameters blank. You also nee d to specify Color and Border for the window because it has already been defined in FOOTREC. Don't forget to specify OVERLAY keyword in Control record format. Now you can go ahead and design and create your Display. Test the display file using RPG program.

You might also like