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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to