Sie sind nicht angemeldet.

1

Sonntag, 2. Juni 2019, 09:12

Context menu - Switch caption on click

Hi,

How can I switch the caption for context menu items? Just like the enterfs and exitfs, I would like to do this for custom items.

Thanks!

2

Samstag, 15. Juni 2019, 14:56

Hi,

just set other values, e.g.

Quellcode

1
set(contextmenu.item[youritem].caption, 'the new text for that item');


That can be done anytime, or if you want to update the contextmenu directly before opening use the oncontextmenu event:
https://krpano.com/docu/xml/#events.oncontextmenu

Best regards,
Klaus