slideImage problems?
slideImage problems?
- Subject: slideImage problems?
- From: Don McConnell <email@hidden>
- Date: Tue, 4 Sep 2001 15:41:20 -0500
Hello ...
As part of a "prepareForDragOperation:" method for a view, I
call NSDraggingDestination's 'slideDraggedImageTo:' method to
get that "snap to place" feature, but my dragged image doesn't
slide. It just disappears. I've set the end NSPoint to places
all over the screen, exaggerating the action to one I couldn't
miss, but I still don't see any sliding. The "prepare..."
method is definitely called. And, except for failing to "snap
to place", the dragging sequence works without a hitch in my
bare-bones test project.
Similarly, NSWorkspace's "slideImage:from:to:" seems to have no
effect.
A "YES" in the last parameter of the drag operation's originating
"dragImage:at:offset:event:pasteboard:source:slideBack:" method
causes a rejected image to slide back to its source just fine.
Why will my image slide _back_, but not _to_?
Thanks,
Don