• 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
command-period doesn't close NSComboBox popup window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

command-period doesn't close NSComboBox popup window


  • Subject: command-period doesn't close NSComboBox popup window
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 8 May 2008 17:06:25 -0700

by subclassing NSComboBox and providing a subclass of NSTextView as its field editor, i am able to support the home/end/page down/page up keys in the popped up window. (i'm surprised this isn't the default behavior!)

however, i haven't been able to figure out how to support command-period (to be equivalent to the escape key and i'm even more surprised that this doesn't "just work").

any suggestions?

ken

ps to avoid any/lots of requests for code, here is what i do. my field editor overrides/provides methods for scrollPageDown, scrollPageUp, scrollToEndOfDocument, scrollToBeginningOfDocument and passes this on to its delegate--my NSComboBox subclass. MyComboBox keeps track of whether or not the popup window (by using the appropriate notifications) is up, and if so acts accordingly. all very straight-forward.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: Re: Dictionary Enumeration
  • Next by Date: F-Script Anywhere can't add to procmod group
  • Previous by thread: Re: Saving/restoring PDFAnnotationTextWidget stringValues with PDFKit 10.5
  • Next by thread: F-Script Anywhere can't add to procmod group
  • Index(es):
    • Date
    • Thread