RMB in ContainerControl

I have a ContainerControl with 5 objects

  • one objects is a listbox
  • one is a button

because a button can have a menu by clicking the RMB, I liked it and used it.
the problem is now: clicking the RMB on the button works fine,
BUT the listbox contextualMenuAction gets also processed because it uses also the RMB …
it happened to me because in the contextualMenuAction I have a choose else clause to display a message if a given action is unknown to the script.
it’s not a big problem but still took me a while to find the problem.

just thought I let you know

I solved this problem !!!