• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
selecting specific field in a textual NSDatePicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: selecting specific field in a textual NSDatePicker
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Creating an NSTypeSetter Subclass
  • Next by Date: Re: Progressbar does not survive hide/show
  • Previous by thread: Re: problems with modal window and menu command
  • Next by thread: Re: selecting specific field in a textual NSDatePicker
  • Index(es):
    • Date
    • Thread