On Jul 16, 2006 12:41 AM, Jack Smith wrote: > I asked about this on the forum, but apparently it's not so > trivial - yet extremely important. I need to replace the > current contextual menus provided within HTMLViewer with > my own. Is there a way to do this?
I never found a way to show RB contextual menus... not even with WebBrowser ActiveX on Windows :( But *IF* you control (create) the HMTL pages that will be displayed on the HTMLViewer: 1. You can disable the contextual menu by using the "oncontextmenu" event on the page (not via RB). You could disable them via RB if you were using instead the WebBrowser ActiveX control on Windows only. 2. You can also create your own contextual menus by using Javascript. There are several examples on the web for this. For more info do a search on the web for: oncontextmenu > If not, why did the RB team include > ConstructContextualMenu and > ContextualMenuAction in HTMLViewer? It seems weird, isn't it? But I noticed that Mike already aswered this question on the forum ;) Carlos _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
