cancel
Showing results for 
Search instead for 
Did you mean: 

Activate the Copy Menu Item

Former Member
0 Kudos

Situation given:

I added a custom menu item to the edit menu. This new menu item is shown in the popup menu of each form, too.

When clicking the menu item (in the context menu) I want to copy the contents of the Edittext I right clicked.

Note: The edittext Item is disabled!

To copy the content of the edittext I just perform a click to the Copy Menu Item (UID: 772). But it doesn't work, because the MenuItem is disabled. But, if I rightclick to the disabled edittextItem an choose Copy the content will copied to the clipboard.

Why do my "simulated" click not work?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185703
Active Contributor
0 Kudos

???

What do you really want to do?

Use the information that is copied using the SAP Business One right-click "Copy"?

=> You "simply" have to use the information that is currently stored in the clip-board...

What is the additional menu item for???

HTH

Former Member
0 Kudos

1.) The Menu UID of the Copy-Menu in the SBO Mainmenubar is the same like the one in the context menu, but i am sure you know that

2.) The additional menu item is for the following use:

I have an addon which controls over an 3rd party interface another software. To this software i need to send the content of the edittext i right clicked to.

Its important that after I clicked to my MenuItem 1st the content will copied to the clipboard. I don't want to click any SBO Copy Menuitem first.

3.) This seems to be impossible in SBO. There is no way to activate an MenuItem which was disabled by the system. And the MenuItem is disabled, if you click to a disabled EditText Item

former_member185703
Active Contributor
0 Kudos

???

What do you really want to do?

Use the information that is copied using the SAP Business One right-click "Copy"?

=> You "simply" have to use the information that is currently stored in the clip-board...

What is the additional menu item for???

HTH