Re: Keyboard short-cuts edit field
Re: Keyboard short-cuts edit field
- Subject: Re: Keyboard short-cuts edit field
- From: Ondra Cada <email@hidden>
- Date: Wed, 3 May 2006 19:53:42 +0200
Eric,
On 3.5.2006, at 19:37, Stephane Sudre wrote:
A couple of days ago I posted a question that didn't receive any
responses.
For one, I (think :) I) did understand for the first time too, but I
just don't know how to do this. I could solve it of course if I put
some non-trivial time to it, but dunno the answer offhand. I guess it
would be similar case with others.
That's not of course why I write, the reason is:
Just a blind guess: maybe you can just have a subclass of
NSTextField that overrides the keyDown: method (maybe the
moveRight: and all that stuff too) and find the modifiers using the
NSEvent modifier attribute.
subclassing and overriding this or that beware that NSTextField never
does actual editing. An NSTextView does -- see "field editor".
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden