• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: changeFont not invoked after font panel change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >changeFont not invoked after font panel change (From: Leon Starr <email@hidden>)

  • Prev by Date: changeFont not invoked after font panel change
  • Next by Date: Re: Cocoa documentation feedback
  • Previous by thread: changeFont not invoked after font panel change
  • Next by thread: Cocoa API's for Printers.
  • Index(es):
    • Date
    • Thread