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: 

Own context menu on radio button

fabiankegel
Employee
Employee
0 Kudos

Hi,

I am trying to create my own context menu on a radio button. Therefore I have to add the name of the form routine to the attributes of the radio button dynpro field.

My problem is, that this field is not open for input. Could you tell me how to create your own context menu for radio buttons?

Best regards,

Fabian

10 REPLIES 10

Former Member
0 Kudos

Hi Fabian

Have you assigned all your radio buttons to a group,

after assigning radiobuttons to a single group that option will get enable

Thanks

0 Kudos

Hi Rashmi,

yes I did this. The option is still disabled. Are you sure that it works? If yes, could you please tell me how?

Best regards,

Fabian

Message was edited by: Fabian Kegel

Message was edited by: Fabian Kegel

0 Kudos

Hi Mrutyunjaya,

could you please be more specific?

Best regards,

Fabian

0 Kudos

Hi fabian

I din try that but i think it should work

I will try this first and then only will be able to tell

THanks

0 Kudos

Hi Fabien,

When you assign a radiobutton to a group, you can provide only the function code to the radiobutton. In the attributes section of the radiobutton, on_ctmenu_**

will still be inactive , as you must have noticed.

All you can do is provide separate Text Field next to radiobutton.

By the way, what is your requirement? Why should you right click a radiobutton?

Regards,

SP.

Former Member
0 Kudos

Hi Fabian,

I don't think you can create a context menu on a radio button directly. You can create a text field for the radio button and then go ahead with creation of context menus.

Regards,

SP.

0 Kudos

Hi Sylendra,

I also had this idea. The problem is, that you are no longer able to click on the text in order to change the radio button.

Best regards,

Fabian

fabiankegel
Employee
Employee
0 Kudos

Hi Sylendra,

we would like to give the user some information who changed the radio button settings. (Create/Change info).

Best regards,

Fabian

0 Kudos

Hi Fabian

I tried that , yaa its not working

But if you put your radiobuttons in a box then..to that box you can assign context menu..

so if you can relate these thing .. this may solve the purpose

Thanks