This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi I have a small problem with FindMouseOverElement() function. The deal is that I'm trying to drop a DiagramNodeTool from DiagramToolBox on a DiagramNodeElement but I can't always get it with FindMouseOverElement() because sometimes there is a DiagramConnectionElement under DiagramNodeElement I want to drop it on. I have attached pictures which should help you understand more clearly what I mean :P So my question is, is it possible to get only DiagramNodeElements under mouse with this function? Cheers Przemo
|
|
|
Hello There was a bug where the FindMouseOverElement function was searching the elements in the wrong order. This has now been fixed which will solve your issue. Alternativly, I have also added a FindMouseOverNodeElement method that only considers the node elements. Both these updates will be available through the nightly builds from tomorrow the 7th of September. Let us know how it goes. |
|
|
Actually it didn't solve my issue because I have more DiagramNodeElements on top of the one I want to drop something into, so now I get them instead of the one that I want :P Would it be possible for you to add one more function, FindMouseOverLastNodeElement() or sth like this? This would definitely work for me. Cheers Przemo
|
|
|
Nevermind my question, got this problem solved other way :) Thanks for your help :) |
|