Hello!
Textbox EnableNativeContextMenu ignored when desktop have ContextMenu.
Nick.
Hi Andrew,
The issue was fixed in release 1.5.23
Hi Andrew,
Digging a bit further, it turns out that by design, native context menu is supported only in a small number of controls, mainly the ones where you can copy & paste:
All of these show the native (browser’s) context menu except for the ComboBox. So I can’t reproduce the problem you mention with TextBox.
Please ignore the previous logged issue I referred.
The issue #1595 ComboBox doesn’t show Native context menu was created and is already fixed in our internal build. It will be part of the next public release.
Hi Andrew,
EnableNativeContextMenu works in lots of controls but it doesn’t show on a small number of controls like Page, Panel, ComboBox and a few others.
Logged as #1593 Native Context Menu doesn’t show on some controls
EnableNativeContextMenu does not work for me in 1.5.19. I’ve tried setting it on a form itself, a google map, an htmlpanel, and a regular panel. None of them work.
Hi Nikolajs,
WJ-9174 is fixed in our latest release (1.5.16).
Best regards
Frank
Hi Nikolajs,
As you can read at TextBox class documentation is
EnableNativeContextMenu – Enables or disables the browser’s context menu.
What your sample shows on Window1 is a Wisej ContextMenu, not a browser context menu.
Nevertheless, there is a problem since your sample show the context menu defined in desktop to “leak” and show in Window1. If you use a Page instead of a Desktop, you can see that the context menu defined in the Page, doesn’t show in Window1.
The issue was logged as WJ-9174.
Sample app attached. Wisej v1.5.12.0
Best regards,
Nick
Hi Nikolajs,
I can’t reproduce. Can you attach a sample?
[Edit]
Please inform also what version of Wisej are you running.
Please login first to submit.