realbasic-nug
[Top] [All Lists]

Re: menuItems

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: menuItems
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Mon, 28 Feb 2005 16:42:59 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <f5a5aea7507b686a8a4e9714fcca0126 at comcast dot net>

On Feb 28, 2005, at 4:31 PM, Michael wrote:

Hi List,
I have a question about dynamic menuItems.
I am able to create them ok, but they are not enabled...and I think the reason is they do not have menuhandler code. But, I cannot create the code for this as the menuItems are not created until run time. So, how does one create the code for the menuhandlers for a menuItem which has not yet been created? If this is not too articulate, then it is probably because I do not yet fully understand the issue.
Thanks in advance.


You can create a menu handler for a menu item that does not exist. You just do the usual process of creating a new menu handler; the only difference is that the handler name doesn't autocomplete, due to lack of support for clairvoyance in the current version of Rb.


--------------
Charles Yeomans

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