‎2008 Apr 28 5:16 AM
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.
‎2008 Apr 28 5:28 AM
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
‎2008 Apr 28 5:28 AM
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
‎2008 Apr 28 6:59 AM
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.