Hi Richard,

You might separate the menu from the button using an icon button and a popUp menu hidden button.
At the end of the handler in the icon button which call the menu:


  put the bottomLeft of me into tLoc
  if the platform = "MacOS" then add 2 to item 2 of tLoc
  else subtract 2 from item 2 of tLoc
  popUp btn "MyMMenu" at tLoc

If I understood correctly your problem ;-)

Le 17 mai 05 � 14:06, Richard Gaskin a �crit :

While many developers have been doing this for years, the OS X HIG now officially sanctions using icon buttons as pull-down menus within a window -- you can see this in action with the Finder's Tools menu.

I can live with the look of a rectangle button over the roundRect look normally used by OS X for such things, but getting the behavior right has proven a bit of a challenge.

If I set the menutype of the button to pullDown I get the behavior but with no hilite, unless I set the backgroundColor of the button then it works well but doesn't have the native gradient appearance.


Best regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to