04-27-2006 5:55 AM
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.
04-27-2006 6:03 AM
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
04-27-2006 6:00 AM
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
04-27-2006 6:01 AM
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
04-27-2006 6:03 AM
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
04-27-2006 6:13 AM
i cant able to select all the button using ctrl and no grouping otion is available in edit menu.
04-27-2006 6:15 AM
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
04-27-2006 6:17 AM
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.
04-27-2006 6:29 AM
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.
04-27-2006 6:59 AM
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.
04-27-2006 6:09 AM
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