Re: Using NSFontPanel with NSControl subclasses
Re: Using NSFontPanel with NSControl subclasses
- Subject: Re: Using NSFontPanel with NSControl subclasses
- From: Eric Brunstad <email@hidden>
- Date: Fri, 29 Jul 2005 21:46:13 -0400
Never mind. My view wasn't ever becoming the first responder, which
explains alot.
-Eric
Hi,
In my current project, I have a custom class, METextObject, which
inherits from NSControl. It uses a NSTextFieldCell to draw and
edit text. However, I need it to interact with a NSFontPanel so
the user can change the font. I have tried implementing -
changeFont: and -usesFontPanel, but this does not work. How should
I do this?
Note: Subclassing NSTextField and using that instead is not an
option for my program.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden