• 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
enabling page setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

enabling page setup


  • Subject: enabling page setup
  • From: Ken Victor <email@hidden>
  • Date: Thu, 15 Sep 2005 12:01:00 -0700

i would like the page setup menu item to be enabled in my document app, even if no documents are open. in this situation, it would set a default page setup that would be "inherited" by any new documents. i was returning YES from my app delegate's validateMenuItem method (when called for the page setup menu item) and i had a runPageLayout: method (the specified action from my main nib file) in my app delegate. but this didn't work to enable the menu item. i had to put a validateMenuItem in a subclass of NSApplication to get this to work.

is this expected behavior? or did i perhaps get something wrong?

thanx,
ken
_______________________________________________
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


  • Prev by Date: Re: Using NSTextViews in custom view
  • Next by Date: Re: [NSApple setApplicationIconImage:]
  • Previous by thread: Re: Editable fields in a borderless window
  • Next by thread: Xcode custom new file templates?
  • Index(es):
    • Date
    • Thread