Re: NSTableView and NSTextView
Re: NSTableView and NSTextView
- Subject: Re: NSTableView and NSTextView
- From: Ondra Cada <email@hidden>
- Date: Thu, 18 Oct 2001 12:38:47 +0100
Drew,
>
>>>>> Drew McCormack (DMC) wrote at Thu, 18 Oct 2001 10:11:21 +0200:
DMC> I'm a little confused by this. It seems logical enough, until I read the
DMC> docs for NSTableColumn, which states that the default cell is of type
DMC> NSTextFieldCell. NSTextField does not derive from NSText, and so doesn't
DMC> have the method "setFieldEditor:"....
That's a different thing.
Any "text field" (in a very general sense) uses an NSTextView _just for
editing_, regardless which class actually the "text field" happens to be.
This text view is, in fact, part of the _enclosing window_. See NSWindow
documentation for references of "fieldEditor".
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc