Re: Intercept keydown in edited cell
Re: Intercept keydown in edited cell
- Subject: Re: Intercept keydown in edited cell
- From: arri <email@hidden>
- Date: Thu, 8 Mar 2007 05:39:48 +0100
On Mar 7, 2007, at 15:25 06, Johan Augustsson wrote:
I can't figure out how to intercept a keyDown-message (To get the
arrowkey) while a cell is being edited. I guess that it doesn't help
to subclass NSCell, because NSCell don't have a keyDown-funcition.
i've never really studied apple's interface guidelines fully, but i'd
think intercepting arrowkey-events while the user is editting a cell
would be unexpcted behaviour to users.
arrow-keys play key-role in the interaction with text. changing that
behaviour is a bad idea.
a solution for your problem could be a re-design of your interface-
model, so that navigating between cells is only possible when -not-
editting any cells.
because then to users the interface responds as they expect, while at
the same time you have the advantage that you can move your arrowkey-
navigation-functionality to a sublassed view/responder that doesn't
suffer the limitations you're facing right now.
could be your problem is actually inherent to those interface
guidelines i never studied..
gr
arri
_______________________________________________
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