COPY operations arent supported in the Tree by default because the
framework cant guarantee deep copies of your objects.  You'll need to
implement your own COPY logic in the DND methods (MOVE can stay the
same) including your own object copy.

HTH,

-Michael


> 
> On 8/9/06 10:47 PM, "John Mazzocchi" <[EMAIL PROTECTED]> wrote:
> 
> >  
> >  
> >  
> > 
> > This seems like such a simple thing, and yet ...
> > 
> > I'd like to be able to drag & drop nodes between 2 trees ... both
to copy and
> > to move.
> > 
> > Now both trees have:
> > dragEnabled="true" dropEnabled="true".
> > 
> > Scenario (a): they both have dragMoveEnabled="true" ... so while
they *will*
> > MOVE nodes between each other, they *won't* COPY them when holding
down
> > CTRL-key (as they're supposed to).
> > 
> > Scenario (b): they both have dragMoveEnabled="false" ... by
default, the nodes
> > should COPY across, but it doesn't allow this, as if dropEnabled
were *false*.
> > 
> > In short, you can't COPY nodes between them ... do I really need
to write my
> > own drag & drop functions? :/
> > 
> > Thanks
> > John
> >  
> >
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to