Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Setting the position, width and height of a pop up panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Ashwin_mudikon

New User


Joined: 03 Apr 2007
Posts: 32
Location: Chennai

PostPosted: Thu May 31, 2007 6:31 pm    Post subject: Setting the position, width and height of a pop up panel
Reply with quote

Hi,

I have created a panel and i am displaying it as pop-up window using a rexx program.

Is there any way to set the position, width and height of the pop-up panel?


Thanks,
Ashwin
Back to top
View user's profile Send private message

Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu May 31, 2007 7:33 pm    Post subject:
Reply with quote

In the panel in the BODY section.

)BODY Window(65,12)


this is 65 characters wide and 12 lines in length.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu May 31, 2007 8:52 pm    Post subject: Re: Setting the position, width and height of a pop up panel
Reply with quote

And the position is specified in the ADDPOP service.
Back to top
View user's profile Send private message
Ashwin_mudikon

New User


Joined: 03 Apr 2007
Posts: 32
Location: Chennai

PostPosted: Fri Jun 01, 2007 11:29 am    Post subject:
Reply with quote

i ve got that ADDPOP parameters

it's row(m) column(n) to set the position of a popup panel.

And also just an info, the width of a window should be greater than 8 and less than the screen size. This I got as an error message while using the window option in the panel.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Fri Jun 01, 2007 3:54 pm    Post subject:
Reply with quote

Can you please give your REXX program and the panel code?
Back to top
View user's profile Send private message
Ashwin_mudikon

New User


Joined: 03 Apr 2007
Posts: 32
Location: Chennai

PostPosted: Fri Jun 01, 2007 4:12 pm    Post subject:
Reply with quote

This is my panel definition

Code:
)attr
  + type(text) just(left) color(red)
  _ type(output) just(left) intens(high)
)body window(70,3)
+                                      Message
_msg
+
)end


This is my panel display part in rexx

Code:
"ispexec addpop row(5) column(2)"
"ispexec display panel(msgpanel)
"ispexec rempop"
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Fri Jun 01, 2007 4:46 pm    Post subject:
Reply with quote

Code:


code:

/*REXX*/
"ISPEXEC LIBDEF ISPPLIB DATASET ID('  xxx  ')"
"ISPEXEC ADDPOP ROW(5) COLUMN(2)"
"ISPEXEC DISPLAY PANEL(EX1)"
IF RC\=0 THEN DO
SAY 'COMMAND CANCELLED'
EXIT
END
ELSE
SAY 'YOUR NAME IS' URNAME
EXIT



give your dataset name where ur panel definition is present and execute.
Hope this helps


Thanks,
Prem


Code:
Code:
Code:
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Fri Jun 01, 2007 4:47 pm    Post subject:
Reply with quote

In Display panel give the name of the panel which has panel definition.



Thanks,
Prem
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us