Page 1 of 1
"About..." Menu Option
Posted: Wed Jan 17, 2007 7:06 am
by andres
Hello
Is there any simple way to handle the MenuPick of the "About..." menu option on Mac OS X stand alones?
Revolution creates that default option but I haven't found the way to handle it without creating a new menu with the MenuBuilder.
Thanks
Andres
Posted: Wed Jan 17, 2007 11:58 am
by Mark
No, I don't think there is a way to do this. Maybe a feature request...?
Posted: Wed Apr 22, 2009 5:34 am
by RRobert
In order to make the About... option in the default standalone menu work on a Mac, you'll have to create at least a minimal menu. The easiest way to do this is to open Tools > Menu Builder. Create a new menu and give it a name, say "myMenu". Then delete the File and Edit menus. In the remaining "Help" menu, delete the first item, "Help", leaving only a "-" and the "About" item on the next line. Then close the Menu Builder. Hide the new group. In the group script create a menuPick handler like this:
on menuPick what
switch what
case "About"
-- display the about box here
break
end switch
end menuPick
In an openStack or preOpenStack handler make this group the menubar
group:
on openstack
set the menubar of this stack to "myMenu"
end openstack
Now when you create a standalone from the stack the about menu will function. You don't have to worry about the Quit option because the OS handles that.
Others may have different ideas about how to do this, but this will work.
Devin Asay
Revolution User Mailing List