Re: Toolbar Item Validation in a Panel
Re: Toolbar Item Validation in a Panel
- Subject: Re: Toolbar Item Validation in a Panel
- From: Amar Sagoo <email@hidden>
- Date: Thu, 21 Oct 2004 21:56:58 +0100
Hm, two things I would check if this happened to me:
1) Does something else get set as the toolbar's delegate, overriding
your setting (i.e. two setDelegate calls)?
2) A typo in your method header?
Can't really think of anything more scientific, I'm afraid.
Amar
On Oct 21, 2004, at 21:43, R. Scott Thompson wrote:
Doesn't the toolbar's delegate receive the validateToolbarItem:
message? So you can have all your validation code in one class.
That was the way I thought it worked to begin with. My toolbar's
delegate is set to my class, but a breakpoint in validateToolbarItem:
is never called. :-(
When that didn't work I started looking at the documentation which is
where I learned about the target...
Scott
_______________________________________________
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