Re: changeFont not invoked after font panel change
Re: changeFont not invoked after font panel change
- Subject: Re: changeFont not invoked after font panel change
- From: Leon Starr <email@hidden>
- Date: Tue, 19 Jun 2007 23:54:40 -0700
Answered my own question. I added acceptsFirstResponder
(returning YES) to my custom view code and now it works.
(If there's a more correct solution, I would be happy to hear
about it)
On Jun 19, 2007, at 11:42 PM, Leon Starr wrote:
I suspect this is a responder chain problem, but I'm not sure.
I have a document app with a single NSTextField
created programmatically within a custom view. Outside the view,
in the document window I have a button [Change Font] to trigger
opening of the Font Panel. All of this works fine. Push button,
Font Panel appears. But then when I make a selection, my
changeFont method (in the view class) is not triggered.
A simpler version as a non-doc app works fine. Suggestions
greatly appreciated!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden