DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog tree object duplicate events and missing events DIAdem 2018

I working with the tree object in a DIAdem 2018 dialog.  The tree object has duplicated events for EventOnContextMenuPointSelected, and the event EventContextMenuShowing is missing.  See the attached image.  

 

DIAdem 2018 18.0.0f7096 (64-bit)

 

 

0 Kudos
Message 1 of 3
(2,345 Views)

Hi Mark,

 

It sounds like you are experiencing some unintended behavior here. To understand better, we'll need a few more details here on what is occurring. 

 

1. How are you generating this tree object?

2. With question 1, what makes you expect different events than the ones you see here?

3. Your post reads more like a statement rather than a specific question. Could you clarify the question you are hoping the forums can help you answer?

 

Thank you,

Casey G.
0 Kudos
Message 2 of 3
(2,310 Views)

Please review the image I attached and referenced in my post.  You will see two events named 'EventOnContextMenuPointSelected', (the "duplicates"), and notice that the event named 'EventContextMenuShowing' is missing.  

 

Through a little trial and error, I found that if I manually create the script code for the event 'EventContextMenuShowing', and then  double click on one of the events EventOnContextMenuPointSelected and don't put any code into EventOnContextMenuPointSelected , then event 'EventContextMenuShowing' works as it should.  

 

It appears that the event 'EventContextMenuShowing' has been accidentally renamed to EventOnContextMenuPointSelected , thus creating the duplicate event, and causing the missing event.  

 

To duplicate the situation, simply create a new dialog and add the tree object.  Then within the script, review the events and you will see what I have included in the attached image. 

0 Kudos
Message 3 of 3
(2,305 Views)