Using NSFontPanel with NSControl subclasses
Using NSFontPanel with NSControl subclasses
- Subject: Using NSFontPanel with NSControl subclasses
- From: Eric Brunstad <email@hidden>
- Date: Fri, 29 Jul 2005 19:42:54 -0400
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.
Eric Brunstad
Mind Sprockets Software
eric (at) mindsprockets (dot) com
www.mindsprockets.com
_______________________________________________
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