PDA

View Full Version : treeviewdragdrop: mark forbidden drops



t34
9 Mar 2012, 6:36 AM
We use the event "beforedrop" of the treeviewdragdrop to prevent a drop over special nodes but there is no user feedback for that forbiden drops.

How can we mark the drag target with "x-dd-drop-nodrop" while it is over a forbidden drop target?

Greetings from Rostock
t34

tobiu
9 Mar 2012, 8:21 AM
take a look at the dragenter and dragout events, specified in DDProxy.