Hi,

I'm dragging and dropping from a tree to a list.

All the functionality works fine, but I'm trying to call another 
method when the item is dropped with the name of the file from the 
tree as the argument to that method.

Example: Tree has two objects in a folder node called files:

File1.txt and File2.txt

When I drag from the tree and drop into the List container (List1) I 
want to call a method which has the File1.txt or File2.txt as the 
argument. Can I use the dataForFormat?

Also if I want to restrict this list to only having 1 file in it how 
can I have it to only have the last item that I dropped into it, 
thus removing the previous item, if there was one there.

I tried to put a change event handler on the list, but when you drop 
an Item into the list this event is not called, which I find 
extremely wierd being that the list has in fact 'changed'. Explain 
that one!

Regards,

Iain





 
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