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

screen programs

naveen_inuganti2
Active Contributor
0 Likes
567

Hi....Friends.....

Please understand my requirement...

Iam having two screens....1000 and 2000...

1000 is first screen contains two pushbuttons(P1A)(P1B)...etc

2000 is second screen which contains one pushbutton(P2) and one tablecontrol....etc

so now if i click FIRST push button(P1A) in 1000 screen it has to come to 2000 screen with all the designing parts of 2000 screen...

But if i click SECOND pushbutton(P1B) in 1000 screen it has to come to 2000 screen with out one pushbutton(P2) of 2000 screen...

So here 2000 screen is to be modify itself without creation of third screen....because here no need of that pushbutton(P2) when i come through second pushbutton(P1B) of the first screen....

How to come across this situation....

Thank you,

Naveen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
481

Hi Naveen,

When you click FIRST push button(P1A) in 1000 screen just call 2000 screen using call screen.

nad when you click SECOND pushbutton(P1B) in 1000 screen call 2000 screen

and

loop at screen.

if screen-group1 = 'G1'.

screen-active = 0.

screen-input = 0.

screen-output = 0.

screen-invisible = 1.

modify screen.

endif.

endloop.

here you need to assign pushbutton(P2) to screen-group G1 in the attribute window on the screen

rewrd if helpful

2 REPLIES 2
Read only

Former Member
0 Likes
482

Hi Naveen,

When you click FIRST push button(P1A) in 1000 screen just call 2000 screen using call screen.

nad when you click SECOND pushbutton(P1B) in 1000 screen call 2000 screen

and

loop at screen.

if screen-group1 = 'G1'.

screen-active = 0.

screen-input = 0.

screen-output = 0.

screen-invisible = 1.

modify screen.

endif.

endloop.

here you need to assign pushbutton(P2) to screen-group G1 in the attribute window on the screen

rewrd if helpful

Read only

Former Member
0 Likes
481

Hi,

if 'P1B' is the function code of push button P1B then in PBO of 2000 screen write like this,

if ok_code eq 'P1B'.

Loop at screen.

if screen-name = <P1B>.

screen-active = 0.

modify screen.

endif.

endloop.

endif.

<P1B> is tne name of pushbutton.