New DragDrop functionality

Started by Fred Tomke, March 12, 2010, 04:29:05 AM

Previous topic - Next topic

Fred Tomke

Hi, today I have to tell you something positive laying on my heart:

I am absolutely excited about the new Drag&Drop functionality that was introduced some OpenDCL revisions before. Today I had the first time the chance to implement it and I'm so glad about it. The returning values of OnDragBegin allows now to prevent the user from dragging the wrong item on the one side. The returning values of DragOverFromControl event makes it possible to prevent the user from dropping a dragged item onto a wrong item or controls the Drag&Drop operation method.

In the end it decreases the needed code in DragDropFromControl to control what is allowed and what not. I only use it for linking database records, classes and types between each other or towards drawings objects. Sure, to implement this in my existing OpenDCL forms it will take a while. But this is worth to do it anyway!

I just wanted to tell you...

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd