On 4/2/07, Giuseppe Farese <[EMAIL PROTECTED]> wrote:
> OK, if the IDE is not using ConstructContextualMenu to display a
> Contextual Menu (which is something RS/Aaron have insisted that must
> be the way to display Contextual Menus), why should we use
> ConstructContextualMenu? I would like to use the same method/event/
> class RB uses, which doesn't expose the bug I reported. I can't find
> any other way in the documentation on how to display a contextual
> menu. The ContextualMenu control had been deprecated.

That's pretty simple to do by working with the MenuItem class. Create
a menu as MenuItem, then append menuitems to it. Use the
MenuItem.Popup method to show the method, which returns a MenuItem.
You can use its .Text property to find out which item the user
selected from your Contextual menu. I may have left out something as
I'm writing this off the top of my head, but I suspect you'll be able
to easily figure it out with auto-completion and the online Language
Reference.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to