Re: Closing a window with a textview using keyboard
Re: Closing a window with a textview using keyboard
- Subject: Re: Closing a window with a textview using keyboard
- From: Uli Kusterer <email@hidden>
- Date: Mon, 10 Sep 2007 11:55:21 +0200
On 10.09.2007, at 11:50, Knut Lorenzen wrote:
Sorry, I must have been unclear. The behaviour I want is the
standard you
are describing above. But it simply does not work. BTW: I am
talking of a
text *view*, not a text *field*. Could that be the reason?
No. NSTextView is actually easier than NSTextField, since every
NSTextField shares one "field editor" (the NSTextView that does the
actual work). So for an NSTextField, you'd have to subclass both
classes, and make one return an instance of the other, while the pure
NSTextView should be suitable for editing manually.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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