• 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
NSOutlineView Table Column Clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView Table Column Clicks


  • Subject: NSOutlineView Table Column Clicks
  • From: Jordan Matthiesen <email@hidden>
  • Date: Tue, 23 Oct 2001 22:00:43 -0700

I've been trying to tackle an issue for awhile now, and so far have had
no luck... I want to have some code execute in the mouse up of a column
header in an NSOutlineView. I see how to do this with an NSTableView,
but unfortunately the "tableView:didClickTableColumn:" method does not
get called for the outline view. I've tried creating a subclass of
NSTableHeaderCell and overriding the "trackMouse: inRect: ofView:
untilMouseUp:" method, but it does not execute the NSLog() statement I
put in it (I did instantiate an object from my subclass and associate it
with one of the NSTableColumn objects in the OutlineView using
NSTableColumn setHeaderCell:). I thought this is what was recommended
to people trying similar things, but I can't seem to get it to work.
Does anyone have any ideas? Thanks!

Jordan Matthiesen
email@hidden


  • Prev by Date: Drag and drop-folders
  • Next by Date: Re: Drag and drop-folders
  • Previous by thread: Re: Drag and drop-folders
  • Next by thread: Re: NSOutlineView Table Column Clicks
  • Index(es):
    • Date
    • Thread