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

problem in screen painter

Former Member
0 Likes
581

i have a list box and a list of fields in my screen.

During PBO i am disabling some of the fields by making screen-active = 0 for those fields.And when user chooses a particular value in the list box iam enabling those hidden fields by making screen-active = 1 for those fields at PAI.The fields are getting deactivated during PBO but during PAI when the user enters a particular value and presses enter the fields are not getting activated(i.e they are not visible).what might be the pbm.please any of u give me soln for this.

Thanks.

2 REPLIES 2
Read only

kmoore007
Active Contributor
0 Likes
466

Try setting screen-invisible = 0 and screen-active = 1.

Read only

Former Member
0 Likes
466

Hi Murthy,

The answer to your question lies partly in your question itself.

This occurs when you try to make the screen modifications in the PAI. All screen modifications should always be done in the PBO. this is because, the changes to the SCREEN internal table will get reset to the previous content at the beginning of the PBO.

So, move the screen-active = 1 part from the PAI to PBO. You may have a flag set in the PAI, and based on the flag, you can do the modifications in PBO.

Regards,

Anand Mandalika.