‎2008 Mar 18 7:18 AM
I have made with screen painter a program that has 2 screens . I want now to be able to have the screen No 1 to be only for viewing and not for editing . I suppose that i can do it with the attributes of the screen (Screen group ) .
Can someone please tell me the way .
Points will be rewarded ....
‎2008 Mar 18 7:35 AM
Hello,
In the PBO of the respective screen create a module... In that u can write this code.
LOOP AT SCREEN.
screen-input = 0.
modify screen.
ENDLOOP.
this makes ur all fields of teh screen not editable status.
Regards,
Neeraj
‎2008 Mar 18 7:35 AM
Hello,
In the PBO of the respective screen create a module... In that u can write this code.
LOOP AT SCREEN.
screen-input = 0.
modify screen.
ENDLOOP.
this makes ur all fields of teh screen not editable status.
Regards,
Neeraj
‎2008 Mar 18 7:55 AM
Hi.
In PBO you need some coding as follow
1. Set screen-group1 on screen at "Groups" to 'GRP'
2. In PBO
PROCESS BEFORE OUTPUT.
MODULE STATUS_9000.
*
module modify.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9000.
3. Module
module modify output.
loop at screen.
check screen-group1 = 'GRP'. "it is group's name that you have to set in each field on screen
screen-input = '0'.
modify screen.
endloop.
endmodule. " modify OUTPUT
Hope it help.
Sayan.