Skip navigation.
 
mlSubclassing NSTextFieldCell
FROM : Michael Varlik
DATE : Mon Jan 28 21:31:35 2008

Hi,

I want to subclass NSTextFieldCell to implement a
functionality which displays the cell's content as
"*****" if the user decides to hide the cell's content.
I played a bit with NSTextFieldCell and found out
that I have to implement the "-(void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView" method to change the
content of it's controlView. The question I have is
how can I change the content of this view?

Many thanks in advance.
Michael
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Related mailsAuthorDate
mlSubclassing NSTextFieldCell Michael Varlik Jan 28, 21:31
mlRe: Subclassing NSTextFieldCell Dave Batton Jan 28, 22:50
mlRe: Subclassing NSTextFieldCell Kyle Sluder Jan 28, 22:51
mlRe: Subclassing NSTextFieldCell I. Savant Jan 28, 22:54
mlRe: Subclassing NSTextFieldCell Bertil Holmberg Jan 28, 23:03
mlRe: Subclassing NSTextFieldCell Michael Varlik Jan 30, 08:26