Customise Context Menu for Active X widget *Help*

Discussion about recent product features & solutions!
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*

Post by 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?

Regards,
Curtis Gibson Image
Attachments
contextMenu.png

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Customise Context Menu for Active X widget *Help*

Post by 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?

2 posts • Page 1 of 1