Discussion about recent product features & solutions!
2 posts • Page 1 of 1
2 posts
• Page 1 of 1
curtisgibson
Posts:5
Joined: Tue Nov 14, 2017 10:41 am
Customise Context Menu for Active X widget *Help*
Postby curtisgibson »
Hi all,
I am currently trying to customise my context menu within a activeX PDF viewer in WinCC. I have set the extended property 'contextMenuPolicy' to CustomContextMenu. I then noticed that there is a script within the extended tab called customcontextMenuRequested, however it does not provide any help as to how to code what actions/menu items I want to be disabled/enable within the context menu.
Can anyone please provide some help or code example that I can work from?
Re: Customise Context Menu for Active X widget *Help*
Postby Gertjan van Schijndel »
I guess that you can only replace the default context menu with our own context menu (not modify the context menu). With the function 'popupMenu(XY)' a context menu can be activated.
Have you checked if the event is actually triggered?