On May 21, 2006, at 6:13 AM, Charles Ross wrote:

I just noticed for the first time that menu handlers are functions that return a boolean value. I've looked through the language guide and the user's manual, but can't find what this is for. I've not been returning anything from menu handlers, and it's worked, so I'm assuming that whatever the default is is fine, but, well it now feels wrong to not return the appropriate boolean. :)


Returning true means that the handler has handled the event. Returning false means that the next handler in the chain is called, if there is one. Application menu handlers are, I believe, always the end of the chain.

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>

Reply via email to