If you're using REALbasic 2005/2006 you can just create the menu on the
fly using the MenuItem classes (or use one stored in your project), and
call the MenuItem.Popup method. Place that code in your MouseDown
event, and viola, you have a menu poping up with a Left-click.
Hope that helps.
- Ryan Dary
jda wrote:
I would like to create pop-up menu with a custom icon. I can use a
ContextualMenuItem, but it's appearance is poor (e.g. it pops up with
the first line already selected). The ContextualActionMenu is much
better and would do just fine, but I can only see how to invoke it with
a right click. Is there a way to do this with a regular (left) click?
I'd rather use such a native solution instead of a plug-in or HierPop. A
BevelButton also won't work, because you can't hide the button outline
(which looks ugly with the custom icon).
Thanks,
Jon
_______________________________________________
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>
_______________________________________________
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>