[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSTextField, NSCell and -objectValue
From: |
Dirk Lattermann |
Subject: |
NSTextField, NSCell and -objectValue |
Date: |
Tue, 13 May 2003 21:53:00 +0200 |
User-agent: |
Mutt/1.4i |
Hello!
When typing in an NSTextField, is its objectValue supposed to be
updated as well as the stringValue? I.e., in the
control: textShouldEndEditing: and controlTextDidEndEditing:
delegate methods, should -objectValue and -stringValue give the
same result?
I'm only getting nil as the objectValue, stringValue represents the
contents of the TextField.
(NSCell sets _cell.has_valid_object_value = NO in setStringValue
when there is no formatter, but I don't know if that's relevant)
TIA!
Dirk Lattermann
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSTextField, NSCell and -objectValue,
Dirk Lattermann <=