View Full Version : NSTableView items with ctrl+click is moving the selected item to last

Feb 5, 2009, 02:19 AM
I am using Cocoa with Obj C programming.
In my application, I have a NSTableView which are populated with 5 rows. Only one row can be selected at a time. On ctrl+click on a row(selected) for example ctrl click on 2nd row item, a popup menu shows some options and last item is "GetInfo" which opens a new window that shows some properties.
But in the table view, last item is being be selected automatically and the properties dialog shows details about last item.

I don't know why is it happening?