Bad Idea To Disable an 'Edit' Menu

Ken Ray kray at sonsothunder.com
Sat Aug 20 02:04:04 EDT 2005


Just passing along an interesting tidbit of information that I just ran
into:

If your application has an 'Edit' menu AND it has a 'Preferences' menu item
AND you deploy to Mac OS X, then you should never disable the entire Edit
menu (you should leave the menu itself enabled, but individually disable the
items you want to prevent users from executing).

The reason is that under OS X, the Preferences menu item disappears from the
bottom of the Edit menu and appears under the Application menu. This item is
*always* appears enabled under the Application menu, but if you've disabled
the Edit menu, selecting Preferences from the Application menu *won't work*.

Now, this may just be a bug (I'll log it as such), but until it's fixed or
documented, you should disable the individual items in the menu and not the
menu itself.

Just FYI,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
 





More information about the use-livecode mailing list