Re: NSToolbar(item) quirk
Re: NSToolbar(item) quirk
- Subject: Re: NSToolbar(item) quirk
- From: Scott Anguish <email@hidden>
- Date: Sat, 5 Feb 2005 03:35:54 -0500
On Feb 4, 2005, at 9:43 AM, Ed wrote:
Thanks for the replies.
Scott : Yup, I have myDocument class set as delegate… bad idea?
no. it sounded like something higher up teh chain was getting the
validate message...
Heinrich : That is how I do it, I believe (on a school computer, don't
have my code).
My validation function is :
- (BOOL)validateToolbarItem:(NSToolbarItem*)toolbarItem
Would making my ToolbarItem (let's say quoteItem) a global variable,
and then when returning the toolbarItem in ...itemForIdentifier:..
supply the global variable instead of a dynamically created item each
time allow me to get around this problem, or would all of the items
STILL be updated at the same time?
they are being updated based on some local value to the current
document, rignt? not by a global by accident?
_______________________________________________
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