Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

enabling page setup



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.