NSFontManager's delegate.
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.