• 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: Double-Click Column Header??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double-Click Column Header??


  • Subject: Re: Double-Click Column Header??
  • From: J Nozzi <email@hidden>
  • Date: Fri, 2 Jan 2004 10:10:48 -0500

My apologies for not searching deeply enough in the archives. I found that I have to implement the following delegate method:

- (void)tableView:(NSTableView*)tableView
mouseDownInHeaderOfTableColumn:(NSTableColumn *)tableColumn;


On Jan 2, 2004, at 10:02 AM, J Nozzi wrote:

While quickly clicking a column header to test sorting, I noticed that the doubleAction is fired. Is this expected behavior or do I have some wires crossed somewhere? If it's expected, why does it work this way and how can I prevent it?

I don't want the doubleAction fired when someone can't make up their mind what they want to sort. This could potentially lead to lost data or (at very least) serious confusion given that the doubleAction opens the document referenced by the selected row ...

Thanks and Happy New Year

- Josh
_______________________________________________
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.
_______________________________________________
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: 
 >Double-Click Column Header?? (From: J Nozzi <email@hidden>)

  • Prev by Date: Double-Click Column Header??
  • Next by Date: Re: handling of huge bitmaps, incremental saving?
  • Previous by thread: Double-Click Column Header??
  • Next by thread: Allocation during awakeFromNib
  • Index(es):
    • Date
    • Thread