• 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: return key and outline view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: return key and outline view


  • Subject: Re: return key and outline view
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sat, 2 Aug 2003 13:45:46 +0200

At 19:47 Uhr -0400 01.08.2003, Brent Gulanowski wrote:
Is there a way to change the behaviour of outline views wrt: the return key? The default behaviour is to proceed to the next cell down, but I just want to to accept the input and then highlight the current row. How can I do that?

I think you need to subclass NSTableView and override keyDown:, check for the return key and in that case just call endEditing:... to close the field editor, while for any other key calling through to the superclass.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
References: 
 >return key and outline view (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: NSTableView Question
  • Next by Date: Re: Getting rid of "hidden" fonts
  • Previous by thread: Re: return key and outline view
  • Next by thread: Using C++ and ObjC FAC
  • Index(es):
    • Date
    • Thread