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

Screen Editor

Former Member
0 Likes
851

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
817

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.

4 REPLIES 4
Read only

Former Member
0 Likes
817

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.

Read only

Kartik2
Contributor
0 Likes
817

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

Read only

Former Member
0 Likes
818

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.

Read only

Former Member
0 Likes
817

This message was moderated.