• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Closing a window with a textview using keyboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Multiple One-to-One Core Data relationships & inverse
  • Next by Date: Re: determine volume name for folder that does not exist
  • Previous by thread: Re: Closing a window with a textview using keyboard
  • Next by thread: Creating NSSplitView with Finder Column View Behavior
  • Index(es):
    • Date
    • Thread