Skip to Content
author's profile photo Former Member
Former Member

Activate the Copy Menu Item

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 25, 2005 at 02:53 PM

    ???

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 25, 2005 at 02:54 PM

    ???

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.