realbasic-plugins
[Top] [All Lists]

Re: MenuItem append signature ?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: MenuItem append signature ?
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Sat, 24 Nov 2007 09:07:22 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <EE56A200-DD68-439D-BA68-D4EF7B2393E3 at great-white-software dot com>
On Nov 24, 2007, at 3:29 AM, Norman Palardy wrote:

> trying to figure out what the right signature is for menuitem.append
> so I can get the object method and call it
>
> Any hints anyone ?


Guess you are referring to "Tag" attribute? Define your signatures,  
associate it with an object method, give the menuItem.tag the  
signature and use a switch block in the enablemenuItems event to  
determine what signature. The signature can be anything, including  
the name of the method. Not sure why you ask here. Use dynamic  
access....


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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


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