View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
Code: |
ADDRESS ISPEXEC
"DISPLAY PANEL(GFCTEP)"
"ADDPOP POPLOC(YYYY)"
ZWINTTL = "POPUP WINDOW TITLE"
"DISPLAY PANEL(GFCTE1)"
"ADDPOP COLUMN(10) ROW(10)"
ZWINTTL = ""
"DISPLAY PANEL(GFCTE2)"
EXIT |
Q 1: Why POP screen(GFCTE1) is displaying if I press enter any where on the screen(GFCTEP) apart from (YYYY) field
Q 2: How to specificy the size of the popscreen.. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
1. The POPLOC has nothing to do with location of the cursor. Read the doc.
2. The size is specified in the panel definition. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
Quote: |
The size is specified in the panel definition. |
i think cloumn and row to specify the starting position of popup but i want develop like below, please advice
Code: |
Menu RefList RefMode
.-----------------------------.
| 1. Settings |
| 2. View |
| 3. Edit |
| 4. ISPF Command Shell |
| 5. Dialog Test... |
| 6. Other IBM Products... |
| 7. SCLM |
| 8. ISPF Workplace |
| 9. Status Area... |
| 10. Exit | |
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You should use the )ABC section in a panel definition. See the ISPF Dialog Developers Guide and Reference. It should be part of your panel definition rather than a separate popup.
But action bars start to get pretty complicated. You can do it manually, but rather than that, you should use the Dialog Tag Language to define your panel. |
|
Back to top |
|
|
|