I thought I could find my answer in the forum, but I cannot find exactly what I am looking for. So if it is here, please point me to the correct tread.
I am doing something VERY simple and I cannot capture the node on from a diagram. What I am doing is that I have created three node types. Let's say:
BasicNode
RectangleNode
TriangleNode
All of these are used to generate the document.
Now when I doulbe-click on any node, I want to capture the text value, as this is a key that I need in another process to run. But I cannot figure out the code to capture the text of the node that has been double-click.
I'm sure it is simple, but the samples and everything that I am looking at do things via a context menu or something else. So I just do not not see how to capture this from the sender object or the event object. I am using VB.
So all I need to do is create the double-click event, which I have, then capture the clicked node and pull it's text value. But I have different node types.
Any suggestion are appreciated. Thanks for you time and help.
Thanks for letting me know… that looks exactly like what I need.
I did not see that in the samples. I did a search for ObjectDoubleClicked accross all of the samples and it did not find anything. I probably did the search wrong or misspelled it. So thanks for finding that for me.