• 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
NSFontManager's delegate.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFontManager's delegate.


  • Subject: NSFontManager's delegate.
  • From: Hiro Fujimoto <email@hidden>
  • Date: Tue, 17 Feb 2004 09:07:12 +0900

Hi, everyone.

I got a strange problem, need some advice.
I draw some string on window with attributes : color, font, so on.
I prepared dialog sheet for user to specified attributes or string to display.
Initialy, when the textfield is enabled but not activated (no insersion point),
my controller object can recieve changeFont: message from
NSFontManeger as delegate,
But if user started to edit the textfield, changeFont: message never sent.
I checked [[NSFontManager sharedFontManager] delegate] , it was still
my controller object, I subclassed the NSTextfield and overrided it's
changeFont: method, but it never recieved such message.
When I sent setEnabled:NO message to the field (and enabled again, the
field doesn't have insersion point in it yet), the controller became to be
able to receive changeFont: message. What eat my message?

Any advice?


------------------------------------------------------------------------ ---------
hiro FUJIMOTO - developer in Japan.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: NSFontManager's delegate.
      • From: Andrew Thompson <email@hidden>
  • Prev by Date: Re: NSImage and flipping
  • Next by Date: Apps whitout nib
  • Previous by thread: Re: makeKeyAndOrderFront and NSBorderlessWindowMask
  • Next by thread: Re: NSFontManager's delegate.
  • Index(es):
    • Date
    • Thread