Disable preferences menu item

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
John
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 30
Joined: Sun Jul 02, 2006 9:41 pm

Disable preferences menu item

Post by John » Sat Apr 09, 2011 8:22 pm

Hi,

I seem to be overlooking something simple. I can disable and enable any menu item other then the "Preferences" menu. I understand that it is really part of the "edit" menu put I can't seem to dim it. I have it disabled in the Menu Builder. My app does not support preferences and the app has been rejected because the "Preferences..." menu item is selectable but does not function. Help.....

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Disable preferences menu item

Post by Dixie » Sat Apr 09, 2011 9:03 pm

Hi John...

In the 'Menu Builder', delete the "Preferences' menu Item and the '-" above it. When you then compile your stack the 'Preferences' menu item will be greyed out and not selectable...

hope it helps

Dixie

John
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 30
Joined: Sun Jul 02, 2006 9:41 pm

Re: Disable preferences menu item

Post by John » Sat Apr 09, 2011 9:15 pm

Thanks Dixie,

Something as simple as that did not occur to me. It could have to do with the warning dialog that pops up when you edit preferences. The menu builder and I don't seem to get along very well. I have learned to back up before using it as it can wreak havoc on you stack size. Right before your help I found this: http://runtime-revolution.278305.n4.nab ... 26955.html . Not as direct as your method but I already implemented it and it seems to work.

Thanks,
John

Post Reply