Drag and Drop External Objects


https://www.nevron.com/Forum/Topic12139.aspx
Print Topic | Close Window

By Robert Haines - 7 Years Ago

I am currently evaluating the NOV Diagram control having previously looked at Nevron Diagram for .NET.

I want to drag and drop external objects onto the View Control and programmatically add them as Shapes. Using the old control (Nevron Diagram for .NET) I managed to do this by creating a custom control which inherited from NDrawingView and had functions that override those from the base class (DoDragDrop, DoDragEnter, DoDragOver).
 
However with the new control these functions are either not overridable or do not exist in the base class (similar functions OnDragEnter and OnDragOver again not overridable). Also the event arguments appear different and I want to check the type of external object being dragged to see if it is something that I can create a shape for, e.g. previously I used drgevent.Data.GetDataPresent(GetType(ExternalType1)).

Any advice on how I can do this in the new control?

Thanks,

Robert