Re: Making a NSFormatter receive special keys
Re: Making a NSFormatter receive special keys
- Subject: Re: Making a NSFormatter receive special keys
- From: Pierre-Olivier Latour <email@hidden>
- Date: Fri, 23 Aug 2002 22:00:37 +0200
>
I'm not sure if this is the solution you're looking for, but i have
>
implemented a subclass of NSFormatter and captured special keys, in
>
this case to see if the Option key was pressed in combination with
>
another key. You can do this by calling [NSApp currentEvent] which will
>
return you an NSEvent instance from which you can determine exactly what
>
keys were pressed...hope this helps :)
I have thought about this this too ;)
But this does not work in my case, since the formatter is not even called
when the user presses a non-printable key like F1, Escape, etc...
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Lausanne, Switzerland
http://www.pol-online.net
_______________________________________________
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.