Re: Validation of a Custom View NSToolbarItem

2008-12-18 Thread Carmen Cerino Jr.
I apologize if I cam of snarky in my last email. I guess I may still confused on how the validation process works. My impression from the Toolbar Programming guide was that if you are dealing with image based items you want to implement the validateToolbarItem in your target. However if you are de

Re: Validation of a Custom View NSToolbarItem

2008-12-18 Thread Keith Blount
> I understand I need to have a NSToolbarItem subclass and override its > validate method, but who is responsible for calling it? Will NSToolbar > call it during its validation routine or do I need to come up with my > own validation routine? As Ashley says, NSToolbar will call validate on the too

Re: Validation of a Custom View NSToolbarItem

2008-12-18 Thread Ashley Clark
On Dec 17, 2008, at 8:20 AM, Carmen Cerino Jr. wrote: I understand I need to have a NSToolbarItem subclass and override its validate method, but who is responsible for calling it? Will NSToolbar call it during its validation routine or do I need to come up with my own validation routine? NSToo

Validation of a Custom View NSToolbarItem

2008-12-17 Thread Carmen Cerino Jr.
I understand I need to have a NSToolbarItem subclass and override its validate method, but who is responsible for calling it? Will NSToolbar call it during its validation routine or do I need to come up with my own validation routine? Cheers, Carmen ___