AddOn Item Event Problem
I have created an AddOn that adds an additional menu and loads a new form from XML.
The form has two buttons for different functionalities. During the development the AddOn works without problems and all events are captured correctly.
Now, I created the AddOn setup with the Simple AddOnInstaller Wizard form the B1DE and installed it as a new AddOn <b>(System: SBO 2005 SP01 PL11)</b>.
The AddOn starts correctly, creates the menu and opens the form from XML but when I press one of the buttons nothing happens.
I used the following code to capture the item event:
If pVal.ItemUID = "btnSelect" And _ (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _ (pVal.BeforeAction = True) Then ..... End If
Perhaps someone can help me with that problem??