Drag a custom subview inside a NSTableView
Drag a custom subview inside a NSTableView
- Subject: Drag a custom subview inside a NSTableView
- From: ""Jose A. Guerrero-Colón"" <email@hidden>
- Date: Fri, 23 Jan 2009 13:33:52 +0100
Hello List,
I have a problem with a single column NSTableView. I populate the rows
with my custom cell (a view that includes NSProgress Indicator and
textfields).
The point is that I cannot get to work the drag thing. I've been
searching on the web and all I found was related to "regular" cells
typically used by NSTableView. (TextFields, and so on)
I tried to find a work arround by:
a) Capturing the mouse events into the subview. This worked just fine,
but only for the mouseDown event. For the mouseDragged, I could not
get it to work... It seems like TableView is cutting this event to the
subview.
b) Capturing the mouse events in the NSTableview. I fail too :(. I
tried to subclass the scroll, the tableColumn with no success...)
Anybody have an idea about this????
Thank you very much in advance!!!
Best,
Jose
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden