Op 26-mei-05 om 21:24 heeft Andreas H�schler het volgende geschreven:
Hello,
I have sent
[tableView registerForDraggedTypes:[NSArray
arrayWithObject:@"NSColorPboardType"]];
on a tableView subclass. When I drag a color from the color panel to
this table, I would expect
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender
{
NSLog(@"performDragOperation");
...
}
to be called but it is not. What am I missing?
See
http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/
Tasks/acceptingdrags.html
Have you implemented - (NSDragOperation)draggingEntered:(id
<NSDraggingInfo>)sender? Also try using NSColorPboardType without
quotes - it's a constant defined somewhere.
Regards,
Steven Kramer
--
[EMAIL PROTECTED]
http://www.sprintteam.nl/
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep