NSPopUpButtonCell within NSTextFieldCell: disappearing text

Alan Smith alanrogersmith at gmail.com
Sat Aug 4 05:33:58 PDT 2007


Michael,

I suggest not subclassing NSTextFieldCell but NSCell. That way you
don't have to worry about overriding some of NSTextFieldCell's
behavior. If you override NSCell just create a NSTextFieldCell and
NSPopUpButtonCell as instance variables and draw them in
drawWithFrame::

Good luck!


Peace, Alan


-- 
My blog: cocoalatte.info

// Things I've said -------------------------
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that personal beliefs are not something to
argue or fight over, it shall evolve."


More information about the MacOSX-dev mailing list