MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Panel size

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Mon Oct 20, 2003 1:16 am    Post subject: Panel size Reply with quote

Can anybody suggest the attributes to control the size of the panel ? Suppose I want a small panel to be displayed at the top right corner of the screen, how to do that ?

Thanks
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Oct 20, 2003 3:52 am    Post subject: Reply with quote

Nancy,

The Panel size can be controlled by providing the two things listed below:

1. WINDOW(cols, rows) in the )BODY section of the Panel definition.
2. ADDPOP command in the REXX program which invokes the panel.

Example:

Panel definition:

Code:

)PANEL                                                     
)ATTR                                                     
 $ TYPE(TEXT)   INTENS(LOW)                               
 ? TYPE(OUTPUT) INTENS(HIGH) JUST(ASIS)                   
)BODY WINDOW (50, 4)                                       
                                                           
     ?Z                                        $           
     ?Z                                        $           
                                                           
)INIT                                                     
 .ZVARS = '(LSTATUS +                                     
            LMSG)'                                         
)PROC                                                     
)END                                                       


REXX Exec:

Code:


 LSTATUS = CENTER('SCANNING JCL',40)   
 LMSG = CENTER('PLEASE WAIT !!!', 40)

"ISPEXEC ADDPOP ROW(9) COLUMN(9)"       
"ISPEXEC DISPLAY PANEL(DDFM200P)"       
"ISPEXEC REMPOP"                       



When the piece of REXX code shown above is executed. The panel will be displayed as a small window (POPUP) over the current screen at Position (9, 9) as mentioned by the ROW(9) and COLUMN(9) keywords in the Addpop command.

Just try changing the ROW(n) and COLUMN(m) values to position your popup window (panel) in a desired position.

Thanks
Back to top
View user's profile Send private message
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Mon Oct 20, 2003 4:00 am    Post subject: Reply with quote

Thanks Phantom. Its working fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group