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

RadioButton Fct Code

Former Member
0 Likes
2,335

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
Read only

Former Member
0 Likes
1,673

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
Read only

VijayasekarK
Active Participant
0 Likes
1,673

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

Read only

Former Member
0 Likes
1,673

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

Read only

Former Member
0 Likes
1,674

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

Read only

0 Likes
1,673

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

Read only

0 Likes
1,673

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

Read only

0 Likes
1,673

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.

Read only

0 Likes
1,673

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.

Read only

0 Likes
1,673

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.

Read only

former_member186741
Active Contributor
0 Likes
1,673

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