Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need help in sub screen

Former Member
0 Likes
431

Hi,

I am working on a dialog program.

I have screen 1. It has a subscreen as screen element.

In the program top include, i have selection screen statement and 2 blocks in it.

I have included the selection screen in the sub screen of screen 1.

Depending on some condition i am making the screen-modify as 0 for block 1 parameters some times

and block 2 parameters some times.

Logic is working fine.

But while i make the block 1 parameters hide and display block 2 parameters they are displaying

on the middle of the screen. I just want to display them as normal i.e top of the screen.

Your help in this would be appreciated.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
402

Hi,

You can the required functionality by having 2 different subscreens...


 
      if R1= 'x'
         Call subcsreen 100
     elseif R2= 'x'.
        call subscreen 200
     endif.            

( or )

Check your subcsreen which your calling the attributes in the screen attrubutes we have the screen dimension which can help you.

Regards

Kumar

Hi,

You can the required functionality by having 2 different subscreens...


 
      if R1= 'x'
         Call subcsreen 100
     elseif R2= 'x'.
        call subscreen 200
     endif.            

( or )

Check your subcsreen which your calling the attributes in the screen attrubutes we have the screen dimension which can help you.

Regards

Kumar

2 REPLIES 2
Read only

Former Member
0 Likes
402

Hi,

See if this is of some help

What you could possibly do is,



 "Here the radio buttons are placed in a seperate selection screen block.
if rad1 = 'X'.   "Or whatever your event is based on which you are enabling and disabling the selection screen blocks
  set screen 0. "Leaves the current screen sequence
  call selection-screen 0110.  "Calls the selection screen 0110. 

elseif rad2 = 'X'.
  set screen 0. "Leaves the current screen sequence
  call selection-screen 0111.  "Calls the selection screen 0111. 
endif.

I think you would have used LOOP..ENDLOOP to make your block go invisible. Try using this.

Read only

Former Member
0 Likes
403

Hi,

You can the required functionality by having 2 different subscreens...


 
      if R1= 'x'
         Call subcsreen 100
     elseif R2= 'x'.
        call subscreen 200
     endif.            

( or )

Check your subcsreen which your calling the attributes in the screen attrubutes we have the screen dimension which can help you.

Regards

Kumar