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

Module pool

Former Member
0 Likes
786

Hi

i have a doubt in module pool i.e

in tab script we have 2 tabs and if we have 10 text boxes in second tab and 5 list boxes in first tab depending on the list box selection the text boxes should be displayed and remaining text boxes in 2 tab should be in invisible how to do that

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
768

u can code it in the PBO of the 2nd tab Subscreen. there u can code with ..

LOOP AT SCREEN.

.....

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDLOOP.

6 REPLIES 6
Read only

Former Member
0 Likes
769

u can code it in the PBO of the 2nd tab Subscreen. there u can code with ..

LOOP AT SCREEN.

.....

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDLOOP.

Read only

0 Likes
768

Hi

Thank u for ur answer but i group all the text-boxes in one group.

Read only

0 Likes
768

Ok fine....then go for SCREEN-NAME..


LOOP AT SCREEN.
   IF SCREEN-NAME = <fieldname>.
      SCREEN-ACTIVE = 0.
      MODIFY SCREEN.
   ENDIF.
ENDLOOP.

OR

u can add another Group (Group1,group2,...) values for the Text boxes and its name....

LOOP AT SCREEN.

IF SCREEN-group.. = <groupname>.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Edited by: Sukriti Saha on Oct 23, 2008 10:15 AM

Read only

0 Likes
768

Hi

Thank u for ur answer it is working but not ful invisible.

Read only

0 Likes
768

u can add another Group (Group1,group2,...) values for the Text boxes and its name....


LOOP AT SCREEN.
   IF SCREEN-group.. = <groupname>.
      SCREEN-ACTIVE = 0.
      MODIFY SCREEN.
   ENDIF.
ENDLOOP.

Edited by: Sukriti Saha on Oct 23, 2008 10:18 AM

Read only

Former Member
0 Likes
768

u can add another Group (Group1,group2,...) values for the Text boxes and its name....

LOOP AT SCREEN.

IF SCREEN-group.. = <groupname>.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.