‎2012 May 14 3:17 AM
How to link radio buttons in old editor?
I have two radibuttons and i want only one should be checked in old editor.
Regards
Sach.
‎2012 May 14 4:41 AM
Hi,
In the old editor while defining radio buttons you have to group the radio buttons.
This can be done by definign the two radio buttons.
click on one radio button and click on Graphical element in application toolbar.
and then click on other radio button and click on define graphic group. This would help in grouping radio button. Hope this helps.
Regards
Gaurav.
‎2012 May 14 3:40 AM
You can use MODIFY SCREEN for that.
IF <condition>.
LOOP at screen.
if screen-name = 'CB1'.
screen-input = 0
ENDIF.
MODIFY screen.
endloop.
else.
loop at screen.
if screen-name = 'CB2'.
screen-input = 0
ENDIF.
modify screen.
endloop.
endif.
‎2012 May 14 4:36 AM
Hi,
What ever may be the editor, if you have grouped the radio buttons to same group then you can select only one radio button at a time. Refer the following block of code.
SELECTION-SCREEN begin of BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_class type c RADIOBUTTON GROUP sele
USER-COMMAND selected DEFAULT 'X',
p_char type c RADIOBUTTON GROUP sele.
SELECTION-SCREEN end of BLOCK b1.
I think you have not grouped the radio buttons properly. Hope it solves your problem. Thank you.
My mistake in understanding the question, i think here you are talking about screen painter. In that case you have to select the radio buttons that you want to group, right click on the selection and then select the option "Radio Button Group' Then select the option 'Define'. Please refer the attached screen shot.
Regards,
kartik
‎2012 May 14 4:41 AM
Hi,
In the old editor while defining radio buttons you have to group the radio buttons.
This can be done by definign the two radio buttons.
click on one radio button and click on Graphical element in application toolbar.
and then click on other radio button and click on define graphic group. This would help in grouping radio button. Hope this helps.
Regards
Gaurav.
‎2012 May 14 4:49 AM