Profile Picture

Events on lines

Posted By Luis Miguel Perez Lopez 12 Years Ago
Author
Message
Luis Miguel Perez Lopez
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 29, Visits: 1
I have created and array of connectors in my project and I need to create an event for each one of them so that when the user press the click in one of them one event should be executed:

AddHandler NLine(CountLines).Click, AddressOf OnClickPressed

Private Sub OnClickPressed(ByVal args As Nevron.Diagram.NNodeViewEventArgs)

'some code

End Sub

But it doesn't work. Does anybody can help me ?

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

You should use the drawing document's event sink service NodeClick event (or NodeMouseDown, or NodeMouseUp event if it suits you needs better). Please, take a look at this help topic for more information about Nevron Diagram Services.



Best Regards,
Nevron Support Team



Luis Miguel Perez Lopez
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)Forum Member (29 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 29, Visits: 1
I need one more thing, I need that when the user selects an arrow and put on another,
The latter is divided into two parts, as in the pictures I've attached, indicating to the user
the point where the junction is formed.

Attachments
image1.PNG (129 views, 19.00 KB)
image2.PNG (115 views, 23.00 KB)


Similar Topics


Reading This Topic