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

Modulepool

Former Member
0 Likes
921

Hi,

Can anyone please tell while creating radiobutton's say R1 and R2, how to assign the both to a common function group and how to make the display with R1 defaultly checked where as R2 remains un checked.

Regards,

Ram.

1 ACCEPTED SOLUTION
Read only

valter_oliveira
Active Contributor
0 Likes
900

Hello.

To assign to a common function group, just select both in the screen painter, and with right mouse button select that option.

Regarding it's values, in initialization event (for example, just have to be before the buttons appear first time), just put r1 = 'X' and r2 = space.

Regards.

Valter Oliveira.

9 REPLIES 9
Read only

valter_oliveira
Active Contributor
0 Likes
901

Hello.

To assign to a common function group, just select both in the screen painter, and with right mouse button select that option.

Regarding it's values, in initialization event (for example, just have to be before the buttons appear first time), just put r1 = 'X' and r2 = space.

Regards.

Valter Oliveira.

Read only

Former Member
0 Likes
900

hi,

try this code,

selection-screen.

radio1 as radiobutton group rad1,

radio2 as radiobutton group rad1.

In the PBO event pass the Value of radio1 = 'X'.

Hope this will help.

Regards

Sumit Agrwal

Read only

Former Member
0 Likes
900

Hi,

Do Like below.

PARAMETERS:

p_rad1 RADIOBUTTON GROUP rad1 DEFAULT 'X' USER- COMMAND rad1,

p_rad2 RADIOBUTTON GROUP rad1.

Here Group id rad1 and default is radiobutton1.

Regards,

Sujit

Read only

Former Member
Read only

Former Member
0 Likes
900

Hi,

While initialization you should give 'x' in the select option so that it becomes checked by default.

Regards

Divya

Read only

Former Member
0 Likes
900
parameters: a radiobutton group G1 default 'X',
            b radiobutton group G1.

Here, both parameters are part of the group G1, and 'a' is the default.

Read only

0 Likes
900

OMG, so many replies! Pick your choice.

Read only

0 Likes
900

Hi all,

Please note my requirement is on a Module pool screen.

Regards,

Ram.

Read only

0 Likes
900

Hi again.

And as I said, in screen painter, with your mouse select both radiobuttons, and with them selected, press right mouse buton, and you will have a option to create a function group.

As I said also, in initialization event, or befor calling the screen it will be used, make r_1 = 'X' and r_2 = space.

Regards,

Valter Oliveira.