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

Function Code in Screen Painter for Radio Buttons

Former Member
0 Likes
3,191

How to set Function Code for Radion Buttons in Screen painter module,where its disabled,how to use this radiobutton selection criteria.

1 ACCEPTED SOLUTION
Read only

Former Member
1,603

Hello Nandan,

Assuming that you will always have a radio button group, rather than a single Radio Button,

1. In the screen painter, place two or more radio buttons on the screens and give them the names.

2. Select the Radio Buttons with your mouse and do a right-click. On the context menu, choose RadioButton Group-->Define.

3. Now just press F7. There will be a pop-up for the element list. Scroll a little to the left and give a function code to one of the radio-buttons. You will see that all the radio buttons which you have grouped together will get the same function code automatically.

If this helps, please reward and close the thread. If you have some problems doing this, please do get back.

Regards,

Anand Mandalika.

4 REPLIES 4
Read only

Former Member
0 Likes
1,603

Hi,

I hope I am understanding the question correctly. You can go to Screen Painter, open Layout Editor, double-click on the radio button/group you want to assign the code; an attributes window is displayed, fill the field with label FctCode with your desired function code, activate your screen.

Now in your PAI processing block, you can evaluate the same function code through your ok code field.

Hope this helps.

Regards

Read only

0 Likes
1,603

Regards,

Anand Mandalika.

Read only

Former Member
1,604

Hello Nandan,

Assuming that you will always have a radio button group, rather than a single Radio Button,

1. In the screen painter, place two or more radio buttons on the screens and give them the names.

2. Select the Radio Buttons with your mouse and do a right-click. On the context menu, choose RadioButton Group-->Define.

3. Now just press F7. There will be a pop-up for the element list. Scroll a little to the left and give a function code to one of the radio-buttons. You will see that all the radio buttons which you have grouped together will get the same function code automatically.

If this helps, please reward and close the thread. If you have some problems doing this, please do get back.

Regards,

Anand Mandalika.

Read only

0 Likes
1,603

Thanks for the perfect thing