Application Development 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: 

three radiobutton on the same line

Former Member
0 Kudos

hi to all ,

my requirement is that i have to provide 3 radiobuttons on single line

format should be comment then radiobutton

please help me out

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

try like this sample code...

SELECTION-SCREEN BEGIN OF LINE.
selection-SCREEN COMMENT (10) text1.
PARAMETERS rb1 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 15(10) text2.
PARAMETERS rb2 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 30(10) text3.
PARAMETERS rb3 RADIOBUTTON GROUP rad.
SELECTION-SCREEN end OF LINE.

INITIALIZATION.
move: 'button 1' to text1,
      'button 2' to text2,
      'button 3' to text3.

Cheers,

jose.

2 REPLIES 2

Former Member
0 Kudos

Hi,

try like this sample code...

SELECTION-SCREEN BEGIN OF LINE.
selection-SCREEN COMMENT (10) text1.
PARAMETERS rb1 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 15(10) text2.
PARAMETERS rb2 RADIOBUTTON GROUP rad.
selection-SCREEN COMMENT 30(10) text3.
PARAMETERS rb3 RADIOBUTTON GROUP rad.
SELECTION-SCREEN end OF LINE.

INITIALIZATION.
move: 'button 1' to text1,
      'button 2' to text2,
      'button 3' to text3.

Cheers,

jose.

Former Member
0 Kudos


SELECTION-SCREEN BEGIN OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p1 RADIOBUTTON GROUP sel.
PARAMETERS p2 RADIOBUTTON GROUP sel.
PARAMETERS p3 RADIOBUTTON GROUP sel.

SELECTION-SCREEN end OF LINE.
SELECTION-SCREEN end OF BLOCK blk1.