Using setDoubleAction with NSTableView
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