NSTableView and Drag&Drop
NSTableView and Drag&Drop
- Subject: NSTableView and Drag&Drop
- From: Giovanni Donelli <email@hidden>
- Date: Tue, 25 Feb 2003 18:17:18 +0100
Hello gurus!
I'm trying to enable the Drag&Drop option on a NSTableView
I found no problem implementing the:
- (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows
toPasteboard:(NSPasteboard*)pboard
and:
- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id
<NSDraggingInfo>)info proposedRow:(int)row
proposedDropOperation:(NSTableViewDropOperation)op
But I really can't handle with this one:
- (BOOL)tableView:(NSTableView*)tableView acceptDrop:(id
<NSDraggingInfo>)info row:(int)row
dropOperation:(NSTableViewDropOperation)operation
please help! it seems that this method is never called... I used the
registerForDraggedTypes properly...
is there someone that experienced my problem too.. it is so strange as
I don't have even the visual feedback on the table.. do I miss
something?? some properties to set in Interface Builder??
that method isn't called!
thanks for your help!
Giovanni
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.