• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Menu activation problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu activation problems


  • Subject: Re: Menu activation problems
  • From: Yann Bizeul <email@hidden>
  • Date: Tue, 19 Aug 2003 13:28:28 +0200

Dont't you forgot to setTarget and setAction on your menu items ?
Your aplpication does not know how to handle menu selection without this, and will disable them, AFAIK

Regards,
--
Yann Bizeul
TYNSOE.ORG - http://www.tynsoe.org/
Site technique consacri ` MacOS X
Projets : http://projects.tynsoe.org/
On Tuesday, August 19, 2003, at 12:42 PM, Jesus De Meyer wrote:

Hi,

I have a seperate controller that build a menu with submenus etc. In my
main controller I insert this menu to my main menu as a sub menu. It
works perfectly, but the items in the submenus are dimmed and I cannot
select them. I've tried using the setAutoenablesItems but that didn't
work.

Perhaps it's because this menu controller has no delegate, but then I
don't know why it should be a delegate. My main controller is the
delegate of File's Owner.

Any ideas?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Menu activation problems
      • From: Jesus De Meyer <email@hidden>
References: 
 >Menu activation problems (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: Sharing models between buttons
  • Next by Date: Re: Menu activation problems
  • Previous by thread: Menu activation problems
  • Next by thread: Re: Menu activation problems
  • Index(es):
    • Date
    • Thread