FROM : Paul Thomas
DATE : Tue Mar 18 21:59:23 2008
I have an NSTableView (multiple selection, not editable) and I want to
do something with the elements of the displayed list when the user
double clicks. Even though the table has multiple selection, I only
want to action the single element that the user double-clicked.
If I set up a target/action message using setTarget: and
setDoubleAction:, everything works fine and I can get clickedRow to
tell me the row.
If I use bindings in IB3 and bind "Double Click Target", I get the
action message, but clickedRow is always -1.
So, is this a bug? If so, I'll radar it. But I wanted to check if this
is expected behaviour because of something special about bindings.
ta,
pt.
DATE : Tue Mar 18 21:59:23 2008
I have an NSTableView (multiple selection, not editable) and I want to
do something with the elements of the displayed list when the user
double clicks. Even though the table has multiple selection, I only
want to action the single element that the user double-clicked.
If I set up a target/action message using setTarget: and
setDoubleAction:, everything works fine and I can get clickedRow to
tell me the row.
If I use bindings in IB3 and bind "Double Click Target", I get the
action message, but clickedRow is always -1.
So, is this a bug? If so, I'll radar it. But I wanted to check if this
is expected behaviour because of something special about bindings.
ta,
pt.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

