Re: Key Equiv for NSButton in an NSDrawer?
Re: Key Equiv for NSButton in an NSDrawer?
- Subject: Re: Key Equiv for NSButton in an NSDrawer?
- From: j o a r <email@hidden>
- Date: Tue, 10 Dec 2002 18:22:21 +0100
If your assumption is correct, which it could very well be, I suggest
that you file a bug with Apple.
One work around coluld be to have a menu item for the same command with
the same shortcut. Another work around could be to to place an
invisible button in your main window with the only purpose to trap
shortcuts for the drawer. Ugly, but works.
j o a r
On Tuesday, Dec 10, 2002, at 18:08 Europe/Stockholm, Dan Wood wrote:
I have an NSButton in an NSDrawer, and I'd like to be able to "click"
it via a keyboard equivalent. When I have a button on a window, this
works well -- just assign it in Interface Builder.
This doesn't seem to be working when the button is on a drawer -- my
guess is because of the first responder chain of command not letting
the drawer have at a keyboard event.
Any suggestions on how to let the drawer's button handle a command-key
keypress?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.