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

Re: TableView click and return key actions


  • Subject: Re: TableView click and return key actions
  • From: "Mr. Gecko" <email@hidden>
  • Date: Thu, 2 Oct 2008 21:49:10 -0500

That worked perfectly.

Thanks,
Mr. Gecko

On Oct 2, 2008, at 8:00 PM, Corbin Dunn wrote:

Hi Mr. Gecko,

For clicking (and just clicking), do your code in the -action. For return, override -keyDown: and look for the appropriate code.

corbin

On Oct 2, 2008, at 3:40 PM, Mr. Gecko wrote:

Hello I am making a simple table view in a window that pops up when someone presses a key and I am needing to have keyboard and click control with it. When someone clicks a row and when someone presses return I want it to call my code which will close that window and do something with that row selected.

How can I do that?
_______________________________________________

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


_______________________________________________

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


References: 
 >TableView click and return key actions (From: "Mr. Gecko" <email@hidden>)
 >Re: TableView click and return key actions (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Play Playlist in iTunes
  • Next by Date: Re: Direct use of NSScroller?
  • Previous by thread: Re: TableView click and return key actions
  • Next by thread: Security - Write to protected directory
  • Index(es):
    • Date
    • Thread