PDA

View Full Version : drag and drop of tree item



sajis997
14th December 2011, 23:33
Hello forum,


I have some tree item that i need some of them dragged into the scene. There are some items as well that are not droppable into the scene.

Inside the drop event, I check the type and setAcceptDropEvents(false) if i do not want them to be dropped into the scene. But it is not functioning properly.


I have checked the manual and it says that not to change the setAcceptDropEvents(...) in the event handling function. So in that case how can i affect the behavior i want.


Regards
Sajjad