>From Flex2_devguide.pf

Notice that the built-in drag-and-drop functionality of the Tree control 
lets you move items. However, if you want to copy items, you must implement 
your own event listeners for the dragDrop and dragComplete events. For more 
information on these events, see "Drag-and-drop events" on page 874.
Regards,

Arul

----- Original Message ----- 
From: "John Mazzocchi" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 10, 2006 1:47 PM
Subject: [flexcoders] Tree-to-tree drag & drop


> 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
>
>
>
>
>
>
> 



--
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