You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, June 2nd 2019, 9:12am

Context menu - Switch caption on click


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.



Saturday, June 15th 2019, 2:56pm


just set other values, e.g.

Source code

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:

Best regards,