Nevron Forum

Events on lines

https://www.nevron.com/Forum/Topic7256.aspx

By Luis Miguel Perez Lopez - Friday, December 21, 2012

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 ?
By Nevron Support - Friday, December 21, 2012

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.

By Luis Miguel Perez Lopez - Thursday, December 27, 2012

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.