realbasic-nug
[Top] [All Lists]

Re: ContextualMenus

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: ContextualMenus
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Thu, 31 Mar 2005 08:01:20 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <64885 dot 67 dot 122 dot 230 dot 212 dot 1112256056 dot squirrel at rhsthunder dot com>
Ryan wrote:
Hello, I'm fairly new to REALBasic and I've run into an odd problem with
the ContextualMenu control object.  I've got it setup to open a basic Edit
menu when you right click in text boxes but when I try to click out of the
menu to close it it won't close.  It simply opens up and the new click.  I
am in a Win32 environment and am using the Right+Click to call up the
menu.  The only way to close the box is to either Right+Click again and
then Left+Click, or to click out of the text box.  This would become
annoying to end-users and I'd rather not have this happen.  If anybody
else has run into this problem or just know how to fix it please let me
know.

Sounds like you're getting standard Win32 contextual menu behavior. You can close the contextual menu by either selecting an item in it, hitting the Esc key or clicking outside of the menu. You can select items with either the right or the left mouse button.

HTH!

~Aaron

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

<Prev in Thread] Current Thread [Next in Thread>