01-11-2008 4:58 PM
Could you please give me a code for changing the attribute of a screen at runtime.
01-11-2008 5:04 PM
add the following code in PBO
loop at screen.
if screen-name = 'NAME_OF_FIELD_HERE_IN_CAPS'.
set attributes of screen such as REQUIRED, INPUT, OUTPUT, INTENSIFIED, INVISIBLE, ACTIVE, DISPLAY_3D, VALUE_HELP to 1(ON) or 0(OFF)
e.g. screen-output = 1.
modify screen.
endif.
endloop
if the field is part of a table control, put the above code within the the loop...endloop of the table control in PBO
01-11-2008 5:01 PM
Please search the forum. You'll find this question has been asked and answered many times before.
Rob
01-11-2008 5:04 PM
add the following code in PBO
loop at screen.
if screen-name = 'NAME_OF_FIELD_HERE_IN_CAPS'.
set attributes of screen such as REQUIRED, INPUT, OUTPUT, INTENSIFIED, INVISIBLE, ACTIVE, DISPLAY_3D, VALUE_HELP to 1(ON) or 0(OFF)
e.g. screen-output = 1.
modify screen.
endif.
endloop
if the field is part of a table control, put the above code within the the loop...endloop of the table control in PBO
09-04-2008 10:29 PM
You should have taken Rob's advise earlier.
Now you and all your Guests are going to loose everything....
01-12-2008 7:07 AM
<copy&paste_removed_by_moderator>
Edited by: Julius Bussche on Sep 4, 2008 9:26 PM