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: 

RadioButton Fct Code

Former Member
0 Kudos

Hi frnd's,

In my Dialog Program , i had three radio buttons, how to group them and give function code.

I tried but the fctcode option is always disabled.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi Suganya,

in Layout Editor select the Radio Buttons that u want to group and then go to<b> EDIT->GROUPING->RADIOBUTTON GROUP->DEFINE</b>. and press that one then all the Radio Buttons that you have selected will be grouped together.[<b>b]Fcode</b> is enabled only for push buttons. It is always disabled for Radio Buttons.</b>

Check this out

Regards,

Santosh

Note: Please Mark the helpful answers

9 REPLIES 9

VijayasekarK
Active Participant
0 Kudos

Hi Suganya,

you must create a radiobutton group for you radiobuttons. In screen painter, click the first radiobutton, now hold down Shift and click the other one, now rightclick on them and choose, radiobutton group, define.

Search the SDN for "Radio button" you will fine more information & solutions .

Regards,

Vijay

Former Member
0 Kudos

Hi Suganya

You can give function code to comlpete radio button group

for that first you have to assign all the 3 radio buttons to a common group and than that option will be enabled

you can define the peocessing block corresponding to the fcode in the PAI event of screen

whenever user will select any radio button in a group, code mentioned in the fcode will be executed.

Thanks

Former Member
0 Kudos

hi Suganya,

in Layout Editor select the Radio Buttons that u want to group and then go to<b> EDIT->GROUPING->RADIOBUTTON GROUP->DEFINE</b>. and press that one then all the Radio Buttons that you have selected will be grouped together.[<b>b]Fcode</b> is enabled only for push buttons. It is always disabled for Radio Buttons.</b>

Check this out

Regards,

Santosh

Note: Please Mark the helpful answers

0 Kudos

i cant able to select all the button using ctrl and no grouping otion is available in edit menu.

0 Kudos

Hi Suganya

First you keep all these radio buttons in box and than right click on the group..you will get an option in the context menu to assign group to all these radion button

Thanks

0 Kudos

Hi Suganya,

May be you are using Alphanumeric Screen Display.

Goto Utilities->settings.

Check Graphical Layout Editor to switch to Graphical editor.

There you can see the definition of RadioButton group.

Now select the radio buttons using control.

Goto Edit->grouping->radiobuttongroup->define.

Regards,

SP.

0 Kudos

Hi Suganya,

After you switch to Graphical Layout Editor, these are the required steps:

1) Drop two RadioButtons in the screen.

2) Give them the Name , Text and Group.

3) Select the two buttons by using Control key.

4) Go to Edit->Grouping->radiobutton group->define.

5) Now click on any one of the radiobutton for its attributes.

This time, the Function code section will be active so that you can give your code.

HOpe your query is solved.

Regards,

SP.

0 Kudos

Hi frnd's,

Thank u. Now it's working.

Whether the Grouping can be with the radio buttons in the

same column or order.

I had three radio buttons in left and three in right how can i grup in one.

former_member186741
Active Contributor
0 Kudos

1. to select them all:- select one and then hold control and select the others.

2. to group:- edit->grouping->radio button group-> define

3. to allocate function code:set any one of the group's fctcode and it will apply to all in the group