• 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
Using setDoubleAction with NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using setDoubleAction with NSTableView


  • Subject: Using setDoubleAction with NSTableView
  • From: Julio Cesar Silva dos Santos <email@hidden>
  • Date: Sat, 4 Jun 2005 21:28:22 -0300

Hi,

This is my first message to this list and I would like to know if somebody had (or is having) the same problem of mine. I have set the action setDoubleAction to an NSTableView and it has worked fine except for a strange behaviour: if I double-click the rows in a top-to-bottom way the action is triggered normally, but when I double-click one of the previous rows nothing happens and if I start over clicking the next row the action is triggered again. Isn't it strange?
The method gets the selectedRowIndexes (an NSIndexSet) of the table and then the current cell, using the method dataCellForRow. If I put some NSLog lines I can see that the NSIndexSet changes between every call but the NSCell does not change when double-clicking the previous row.
I am using XCode 1.5 on Panther 10.3.9.


Thanks for any help.

Julio Cesar Santos
email@hidden
eMac 1GHz ComboDrive
640MB RAM
Linux User #359973

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Using setDoubleAction with NSTableView
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: NSStatusItem memory management
  • Next by Date: Embedded tool in resources folder of bundle
  • Previous by thread: NSStatusItem memory management
  • Next by thread: Re: Using setDoubleAction with NSTableView
  • Index(es):
    • Date
    • Thread