• 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
Top five reasons your NSTableView doesn't respond to double clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Top five reasons your NSTableView doesn't respond to double clicks


  • Subject: Top five reasons your NSTableView doesn't respond to double clicks
  • From: John Scalo <email@hidden>
  • Date: Sat, 10 May 2003 11:21:39 -0700

Note to others and future self:

5. One or more of the tableview columns are marked editable. This might not
be obvious if you're using a custom cell.
4. Something is obstructing the tableview and intercepting the double
clicks.
3. You haven't implemented the setDoubleAction method.
2. You've implemented the setDoubleAction method, but the selector it points
to doesn't take a sender argument. e.g. it should look like

[tableView setDoubleAction:@selector(doSomething:)];

- (void)doSomething:(id)sender
{
...
}

1. And the number one reason your NSTableView doesn't respond to double
clicks is...you haven't set the target!

[tableView setTarget:self];
_______________________________________________
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.

  • Prev by Date: NSOldSelectedCharacterRange output is funky
  • Next by Date: Force to show ToolTip
  • Previous by thread: Re: NSOldSelectedCharacterRange output is funky
  • Next by thread: Force to show ToolTip
  • Index(es):
    • Date
    • Thread