Connection added event.

W

Wes Lowe

I've recently setup a connection added event in my application.
Using the connects property of the selected shape (dynamic connector), I can
see what my Dynamic Connector is attached to using FromSheet and ToSheet.
This works fine.

The problem occurs when the selected shape is not a Dynamic Connector. If
it's one of my own custom shapes then the Connects property only contains
data for the FromSheet Property. There is no data in the ToSheet property,
even though the connection added event fired and it's clearly connected to a
dynamic connector.

Has anyone got any ideas as to why this is, or can recommend any work
arounds / solutions?
 
W

Wes Lowe

Thanks for the help Al, I've now got a better understanding of how
connectors/connections work.

I managed to sort it by using the FromConnects property of the shape.

Cheers again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top