On Jul 19, 2006, at 7:00 PM, ISS WebMaster wrote:

I am using this code to display a contextual menu in my Mac version of the program

  ContextualMenu1.open

  If IsContextualClick Then
    Dim m as MenuItem
    m= popupmenu.popup
  End if

But it doesn't work in Windows the popup graphic that I have that displays the menu on MacOS X just beeps in Windows.

Wow. Are you really calling the menu in a PopupMenu control or trying to create a popup in a dynamic menuitem?

Doesn't Windows have contextual menus?

Yes, but if you were following the icon thread you would see that ContextualMenu Class cannot have icons.

The new features of the MenuItem class are far superior to the previous ContextualMenu Class. They are created differently and do not use the Contextual events in many controls but are done in the MouseDown event.

Take a look at Phil M's code in the archives at:

<http://support.realsoftware.com/listarchives/gettingstarted/2005-11/ msg00080.html>

This is the best example I have seen so far.

Terry


_______________________________________________
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>

Reply via email to