problems with popup menus under OS 9?

Richard Gaskin ambassador at fourthworld.com
Sat Oct 23 14:55:04 EDT 2004


william griffin wrote:
> Popup menus in revolution have problems. I've gone through hell and back 
> with them.
> First thing to check is the menuMouseButton property in the inspector, 
> on creation of a popup button it is set to 1, which is 100% wrong for a 
> one button mouse mac. It should be set to 0.

The menuMouseButton numbers correspond to the order on which they're 
found on mice that ship with most computers:

1 is the only button on Apple mice, and the left button on mice
   that ship with the other 97.4% of computers
2 is the middle button (Unix) or scroll wheel (Win)
3 is the far-right button

Which button would 0 correspond to?

> see bug 1781
> http://support.runrev.com/bugdatabase/show_bug.cgi?id=1781
> There Tuviah says we can have 25,000 submenus now (wee!)
> He didn't say what rev version though....

I'm impressed that you were able to find that bug in the Mac OS API, but 
its obscure nature has me curious: what sort of app needs more than 256 
submenus?  Is that in a single menu, or aggregate across all active 
menus at the time?

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list