NSDatePickerCell -- Ever Worked ??
NSDatePickerCell -- Ever Worked ??
- Subject: NSDatePickerCell -- Ever Worked ??
- From: John Webb <email@hidden>
- Date: Thu, 24 Aug 2006 19:57:14 -0500
As a relatively new Cocoa developer, this is my first posting to this
list. So please forgive any (unintentional) faux pas.
The app I currently working on uses a NSTableView where several of
the fields are date and time data. I've successfully added
NSDatePickerCells to the TableColumns. The cells display the date
and time data just fine, but I cannot get *editing* to work
correctly. I can not select the individual time and/or date elements,
and the control arrows to the right increment/decrement only the
left-most element (ie. month for date in mm/dd/yyyy display or hour
in hh:mm:ss ) Additional strange behavior is that the font color does
not change from black to white when row is selected (and uses a dark
blue background). Also, there is no indication of date/time element
selection (light-blue) -- even if set 'drawsBackground' is NO (making
cell background white, even when row is selected and dark blue).
The most frustrating part is that if I create a NSDataPicker control
outside of a NSTableView, it works beautifully. And the documentation
states that NSDataPicker relies on NSDataPickerCell for the majority
of it's internal functionality.
I found an old posting
(http://www.cocoabuilder.com/archive/message/cocoa/2005/5/12/135702)
from Troy Stevens of the Apple Cocoa Framework group in May, 2005
saying that the NSDatePickerCell didn't work in NSTableView. I just
downloaded the latest XCode 2.4 (running on 10.4.7) and it appears
it's still not fixed. How disappointing!!!!
So my question is: has anyone ever successfully used a
NSDatePickerCell in a NSTableView ? And if so, what were the secret
incantations to get it to work ?
TIA,
John
_______________________________________________
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