‎2008 Feb 12 11:07 AM
Hi All,
i have declared to radiobutton in my program . statement is like this.
parameters : drsalab radiobutton group g1,
vrsalab radiobutton group g1.
in my program i do not want to display these two radiobutton.
How i can do this . please help me.
Thanks
Dinesh
‎2008 Feb 12 11:09 AM
Comment it out the code used for radio button.
Thanks,
Sriram POnna.
‎2008 Feb 12 11:12 AM
If u dont want to display y have u declared it?
anyway this ll do...
PARAMETERS : rb1 RADIOBUTTON GROUP rad modif id id1,
rb2 RADIOBUTTON GROUP rad modif id id1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CASE screen-group1.
WHEN 'ID1'.
screen-active = 0.
ENDCASE.
MODIFY SCREEN.
ENDLOOP.
‎2008 Feb 12 11:12 AM
Hi,
parameters :
drsalab radiobutton group g1,
vrsalab radiobutton group g1.
at selection-screen output.
loop at screen.
if screen-name cp 'drsalab'.
screen-invisible = 1.
modify screen.
endif.
if screen-name cp 'vrsalab'.
screen-invisible = 1.
modify screen.
endif.
endloop.
Plzz reward points if it helps.
‎2008 Feb 12 11:13 AM
Hi,
Go to Layout of the screen where you have the Radiobuttons ->
Click on Edit Icon ->
Double Click on the Radiobuttons ->
The Screen Painter Attributes screen will spring up ->
Go below in the Attributes section ->
Click Display Tab ->
Check Invisible checkbox.
Reward if helpful.
‎2008 Feb 12 11:15 AM
Write the coding in Initialization as ...
parameters : drsalab radiobutton group g1,
vrsalab radiobutton group g1.
initialization.
loop at screen.
if screen-name = 'DRSALAB' or
screen-name = 'VRSALAB'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
‎2008 Feb 12 11:16 AM
Hi dinesh thate,
Comment the two variables or else do the following
parameters : drsalab radiobutton group g1,
vrsalab radiobutton group g1.
at selection-screen output.
loop at screen.
if screen-name cp 'drsalab' or
screen-name cp 'vrsalab'.
screen-active = '0'.
modify screen.
endif.
endloop.
Reward if it is useful,
Mahi.