prabhushankar_g
New User
Joined: 12 Jun 2007 Posts: 4 Location: Chennai
|
|
|
|
Hi,
I have designed 3 panels - PNL01, 02, 03. Selecting an option in PNL01 takes to panel PNL02 and selection in PNL02 takes to PNL03. I have handled function keys PF02, PF03 for the purposes as shown below,
PF02 --> Exit from any panel to Main Panel (or Menu)
PF03 --> Exit from Current panel to Previous panel
PNL01 - Main Panel ; PNL02 - Second Panel ; PNL03 - Third Panel. Written Three REXX programs to handle each panel
I am handling function keys using the program as follows,
When i press PF03 in any panel, am checking for the key press and then i have coded "RETURN", so that it returns to previous panel, this one is working correct.
When i press PF02 in any panel, am calling main panel program (Say: CALL MAINPGM), the problem (in this scenario) is when i press PF02 key in main panel, it once again takes me to previously displayed panel. I think there is some Stack (previous program still present in the memory area) kind of issue is present. Please let me know how to resolve this issue ? |
|