• 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: NSTableView - double click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - double click


  • Subject: Re: NSTableView - double click
  • From: Tito Ciuro <email@hidden>
  • Date: Thu, 23 Jan 2003 15:22:24 +0100

On Thursday, January 23, 2003, at 03:00 PM, Colin Jackson wrote:

> I have asked this before but the post kind of got lost.
>
> How do I detect a double click on an item in a TableView?

Use the following NSTableView method: - (void) setDoubleAction: (SEL)
aSelector

For example:

NSTableView* myTableView...

[myTableView setDoubleAction: @selector(doubleAction:)];
[myTableView setTarget: self];

- (void)doubleAction:(id)sender
{
NSLog(@"Double click was detected...");
}

I hope this helps,

-- Tito
_______________________________________________
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: 
 >NSTableView - double click (From: Colin Jackson <email@hidden>)

  • Prev by Date: Saving Window Frame
  • Next by Date: Re: OT: trouble getting "Cocoa Programming" ISBN: 0672322307 by Scott Anguish, Erik M. Buck, Donald A. Yacktman ?
  • Previous by thread: Re: NSTableView - double click
  • Next by thread: Spelling Error Underlining
  • Index(es):
    • Date
    • Thread