• 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
Print Menu Item Magic?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Print Menu Item Magic?


  • Subject: Print Menu Item Magic?
  • From: Thaddeus Cooper <email@hidden>
  • Date: Sun, 19 Feb 2006 13:25:14 -0800

Hi All --

In a core data application, I created a custom controller for my main window and added a method named printSelectedItems. I tied the Print menu item (in the file menu) to this method through an action in interface builder and re-ran the program. The Print menu item never becomes active. I've tried setting the enabled binding but the Print item stays stubbornly unavailable.

When I moved the functionality to the Application Delegate and tied the action to the method there - the button suddenly works as expected.

Is there some "magic" about the Application Delegate here that I'm missing - or did I miss a set of steps when I tied it to the custom window controller?

Thanks.

--Thaddeus O. Cooper
(email@hidden)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Print Menu Item Magic?
      • From: PGM <email@hidden>
  • Prev by Date: Re: Questions about NSThread, NSRunloop, Webview
  • Next by Date: Re: Print Menu Item Magic?
  • Previous by thread: Re: Questions about NSThread, NSRunloop, Webview
  • Next by thread: Re: Print Menu Item Magic?
  • Index(es):
    • Date
    • Thread