Re: NSFontManager's delegate.
Re: NSFontManager's delegate.
- Subject: Re: NSFontManager's delegate.
- From: Hiro Fujimoto <email@hidden>
- Date: Thu, 19 Feb 2004 23:28:46 +0900
Andy,
Thank you for your advice. I seems to confuse it exactly.
I'll try make some dummy view to be responder. Thanks again.
--
On 2004/02/19, at 22:58, Andrew Thompson wrote:
Its not a delegate method. The documentation is a little confused.
Look again carefully, you'll see changeFont: is a method sent up the
responder chain, not a delegate method.
You can still work with it, but you need to receive it through
something on the responder chain.
AndyT
On Feb 16, 2004, at 7:07 PM, Hiro Fujimoto wrote:
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.
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside
(see you later space cowboy ...)
------------------------------------------------------------------------
---------
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.