‎2006 Nov 16 10:33 AM
HAI,
This is the requirement.
kindly help.
Grouping radio Buttons
a. Place 5 radio buttons as one group 2 on left side 3 on right side. If any of the left side radio button is selected a check box should be visible. If any of the right side radio buttons is selected check box should be invisible. When that Check box is checked a list box should be visible.
thank u.
suki.
‎2006 Nov 16 11:45 AM
hi,
You need to assign FCODE's to the radio button group, then you can check in your PAI for the SCREEN-NAME = 'checkbox' name then you set SCREEN-ACTIVE= 0. MODIFYSCREEN in a loop over the SCREEN table.
SCREEN-ACTIVE should be used to make a filed visible invisible.
You can alternatively use SCREEN-INVISIBLE keeping the SCREEN-ACTIVE=1.
Regards,
Sesh
‎2006 Nov 16 10:37 AM
create the screen wherein u will have radio buttons, check box, list box....
Now, when u click on radio button do
loop at screen....
endloop...
u need to write code so that check box gets enabled and vice versa...
same thing u need to do for list box when check box selected...
‎2006 Nov 16 10:45 AM
I know that i have to loop at the screen and check with the screen attributes,
but i wanted to know waht attributes to be used to make the checkbox invisible.
thank u.
suki.
‎2006 Nov 16 11:45 AM
hi,
You need to assign FCODE's to the radio button group, then you can check in your PAI for the SCREEN-NAME = 'checkbox' name then you set SCREEN-ACTIVE= 0. MODIFYSCREEN in a loop over the SCREEN table.
SCREEN-ACTIVE should be used to make a filed visible invisible.
You can alternatively use SCREEN-INVISIBLE keeping the SCREEN-ACTIVE=1.
Regards,
Sesh
‎2006 Nov 16 7:04 PM
Hi Suki,
This technique can be used.
LOOP AT SCREEN.
IF SCREEN-NAME = 'CHECK_BOX_NAME'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
This would make the screen element with the name CHECK_BOX_NAME invisible.
Regards,
SP.
‎2006 Nov 17 12:55 PM