I am having a hell of a time trying to figure out how to get a Tree
control in a particular application to accept a drop from a List
control. The dragDrop event never fires when I try to drop an item
from the List onto the Tree. Other events, such as dragOver and
dragEnter, fire ok, but dragDrop just never gets called. I can drag
items inside the tree and it works correctly, but dropping from the
List does not work at all. As I said, the dragDrop handler never even
fires.

Any help is appreciated.


Here is my tree definition:

<mx:Tree
dragEnabled="true"
dragMoveEnabled="true"
dropEnabled="true"
id="tVendorShipAddresses_Plants" width="100%" height="100%"
dataProvider="{acShipAddresses_Plants}"
itemRenderer="com.webapper.controls.VendorShipAddressRenderer"
dragEnter="onTreeDragEnter(event)"
dragOver="onTreeDragOver(event)"
dragDrop="onTreeDragDrop(event)"
dragComplete="onTreeDragComplete(event)">
</mx:Tree>

and my list:

<mx:List
dragEnabled="true"
dragMoveEnabled="true"
dropEnabled="false"
id="lPlants"
width="100%"
height="100%"
dataProvider="{acPlants}"
labelField="name"/>

Reply via email to