FROM : kvictor@pobox.com
DATE : Fri May 09 02:06:25 2008
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.
DATE : Fri May 09 02:06:25 2008
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.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

