Re: NSDatePicker, selecting elements, and field editors

2011-05-20 Thread Philip Dow
On May 20, 2011, at 3:27 PM, Nick Zitzmann wrote: > That's how to _set_ date picker elements, not _select_ them. > > Anyway, I did figure out how to do this. Apparently the only way to > programmatically select a date picker element is to use private > NSDatePickerCell methods, but to unselect

Re: NSDatePicker, selecting elements, and field editors

2011-05-20 Thread Nick Zitzmann
On May 20, 2011, at 2:21 PM, Howard Siegel wrote: > 2. How do I select and unselect date picker elements programmatically? > > setDatePickerElements: > > Sets a bitmask that indicates which visual elements of the date picker are > currently shown, and which won't be usable because they are hid

Re: NSDatePicker, selecting elements, and field editors

2011-05-20 Thread Howard Siegel
On Fri, May 20, 2011 at 11:51, Nick Zitzmann wrote: > I read TFM and searched TFW, and could not find answers to two questions I > have about NSDatePicker: > > > > 2. How do I select and unselect date picker elements programmatically? > setDatePickerElements: Sets a bitmask that indicates

NSDatePicker, selecting elements, and field editors

2011-05-20 Thread Nick Zitzmann
I read TFM and searched TFW, and could not find answers to two questions I have about NSDatePicker: 1. Is it possible to make NSDatePicker use a custom field editor, and if so, then how? My NSWindow delegate already returns one in its -windowWillReturnFieldEditor:... method, and I can confirm t