Dim row,column as Integer
row=Me.RowFromXY(System.MouseX - Me.Left - Self.Left, System.MouseY - Me.Top - Self.Top)
column=Me.ColumnFromXY(System.MouseX - Me.Left - Self.Left, System.MouseY - Me.Top - Self.Top)
MsgBox "You double-clicked in cell "+Str(row)+", "+Str(column)
I copied this code directly out of the Library Reference for ListBox to determine which cell was double clicked.
I click the 3rd or 4th row of the ListBox and both row and column return -1
I have tried compiling both as Carbon and Cocoa - I'm running OS X of course Mountain Lion. Seems like I have made this work before so what am I doing wrong.