selecting specific field in a textual NSDatePicker
selecting specific field in a textual NSDatePicker
- Subject: selecting specific field in a textual NSDatePicker
- From: Ken Victor <email@hidden>
- Date: Mon, 4 Dec 2006 17:49:42 -0800
is it possible to programmatically select a specific field (eg, month
/ day / year) of a textual NSDatePicker that is displaying only dates
(ie, not times)?
thanx,
ken
ps. the reason for this request is as follows: since NSDatePickerCell
doesn't work in NSTableView, i use a NSDateFormatter on the default
text field cell in my table. when the user clicks on a date in my
table, i programmatically make the date picker the first resonder.
this works fine. i would like to be able to select the appropriate
field in the date picker depending on where the user clicked in the
table cell. and while i'm guessing i should be able to determine
which field was clicked in the table (i haven't explored this yet, so
any suggestions welcome), i don't see anyway to select a field in the
date picker!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden