• 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: Corbin Dunn <email@hidden>
  • Date: Thu, 02 Oct 2008 18:00:22 -0700

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


  • Follow-Ups:
    • Re: TableView click and return key actions
      • From: "Mr. Gecko" <email@hidden>
References: 
 >TableView click and return key actions (From: "Mr. Gecko" <email@hidden>)

  • Prev by Date: Re: Security - Write to protected directory
  • Next by Date: Re: Security - Write to protected directory
  • Previous by thread: Re: TableView click and return key actions
  • Next by thread: Re: TableView click and return key actions
  • Index(es):
    • Date
    • Thread