Profile Picture

Drag and Drop External Objects

Posted By Robert Haines Last Year
Author
Message
Robert Haines
Question Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 1, Visits: 6

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





Similar Topics


Reading This Topic