Re: Dragging file promises from an NSOutlineView
Re: Dragging file promises from an NSOutlineView
- Subject: Re: Dragging file promises from an NSOutlineView
- From: Mark Alldritt <email@hidden>
- Date: Sun, 25 Feb 2007 21:35:18 -0800
- Thread-topic: Dragging file promises from an NSOutlineView
Hi,
> I can't claim to be an expert on this, but do you have the following
> setup calls somewhere in your code?
>
> [theOutlineView registerForDraggedTypes:myPasteboardTypesArray];
> [theOutlineView setDraggingSourceOperationMask:NSDragOperationEvery
> forLocal:NO];
Yes, I'm making this call:
[self setDraggingSourceOperationMask:NSDragOperationCopy forLocal:NO];
Which led me to poke around in the OmniApp framework sources.
OATableView-OAExtensions overrides draggingSourceOperationMaskForLocal,
nullifying the effect of the setDraggingSourceOperationMask: call.
I'm on my way again - thanks
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 4.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ FaceSpan 4.3 - AppleScript RAD
Affrus 1.0 - Perl Debugging
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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