NSTableView items with ctrl+click is moving the selected item to last

Discussion in 'Mac Programming' started by satyam90, Feb 5, 2009.

  1. macrumors regular

    satyam90

    Joined:
    Jul 30, 2007
    Location:
    Bangalore, India
    #1
    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?
     

Share This Page