12-23-2008 9:33 AM
Hi,
I created three radio buttons in the layout.But when i am executing the tcode all the three radibuttons are getting selected even after i code in the PBO like this
DATA: input TYPE i,
output TYPE i,
X1(1) TYPE c, X2(1) TYPE c, X3(1) TYPE c, "radio buttons
box1(1) TYPE c, box2(1) TYPE c, box3(1) TYPE c, exit(1) TYPE c.
MODULE init_screen_100 OUTPUT.
CLEAR input.
X1 = 'X'.
CLEAR: X2, X3.
ENDMODULE.
MODULE user_command_0100 INPUT.
output = input.
box1 = X1.
When i debug X2,X3 are cleared but while showing the screen all three are getting selected.Please suggest where i am wrong.
Thanks
K Srinivas
box2 = X2.
box3 = X3.
IF exit NE space.
LEAVE PROGRAM.
ENDIF.
ENDMODULE.
12-23-2008 9:35 AM
Hi
You need to define a group for the radio buttons
in screen painter
First select the radio buttons then go to
Editgroupingradiobutton grouping--define
Best Regards
Ramchander Roa.k
Edited by: ramchander krishnamraju on Dec 23, 2008 10:35 AM
Edited by: ramchander krishnamraju on Dec 23, 2008 10:36 AM
12-23-2008 9:35 AM
Hi
You need to define a group for the radio buttons
in screen painter
First select the radio buttons then go to
Editgroupingradiobutton grouping--define
Best Regards
Ramchander Roa.k
Edited by: ramchander krishnamraju on Dec 23, 2008 10:35 AM
Edited by: ramchander krishnamraju on Dec 23, 2008 10:36 AM
12-23-2008 9:37 AM
Thanks for the reply. I defined group in groups column for all 3 RBs. But the same error is repeating.
12-23-2008 9:39 AM
hi
Please note i have edited the above message
go to Editgroupingradiobutton grouping--define
not in group1 group2 etc
Hope this is very clear to you
Regards
Ramchander Rao.k
12-23-2008 9:46 AM
When i go to Edit->Grouping>Radiobutton Group>Define, Define is in disable mode.What steps i have to follow to make it enable?
Thanks
K Srinivas
12-23-2008 9:51 AM
Hi Sreenu,
Just delete them and create new one again.
Regards
Ramchander Rao.K
12-23-2008 9:59 AM
Hi ,
I tried as per your suggestion. But i am not getting in enable mode.
Thanks
K Srinivas
12-23-2008 10:31 AM
Hi Sreenu,
If you cant DEFINE (as it is in grey mode) you can see the EXPAND option
just click it and then again select the 2 radio buttons now you can DEFINE
i did many time during this time.
or just delete these 2 radio buttons and create again.
Regards
Ramchander Rao.K
12-23-2008 10:49 AM