• 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
Key Event in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Key Event in NSOutlineView


  • Subject: Key Event in NSOutlineView
  • From: Kishore G <email@hidden>
  • Date: Fri, 22 Jul 2005 22:29:03 +0530

Hi All,

    I'm using NSOutlineView in my App.

After editing a cell and press Enter/Return key, outlineView:setObjectValue:forTableColumn:byItem: method gets called on the outline data source.

Now my requirement is, depending on the key pressed (Enter or Return) I've to perform different operations.

    How to get that key?

I've subclassed NSOutlineView and overridden the textDidEndEditing: method, but couldn't get the functionality I need.
( For both Enter & Return keys I'm getting NSReturnTextMovement. )



Cheers Kishore

_______________________________________________
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


  • Prev by Date: Re: NSTableView column order in Interface Builder
  • Next by Date: Facsimile & Cocoa
  • Previous by thread: Re: Determining if a file is still being copied
  • Next by thread: Facsimile & Cocoa
  • Index(es):
    • Date
    • Thread