Menu

Propogating interactive connection to parent

Help
iwbnwif
2013-05-23
2013-08-09
  • iwbnwif

    iwbnwif - 2013-05-23

    Hi again!

    When I have a child shape (for example a wxSFTextShape) inside a parent (for example a wxSFRectShape) and I want to use interactive connections (such as in wxSFSample3), if the user clicks on the wxSFTextShape then it is that shape which 'StartInteractiveConnection' works with.

    Is it possible to somehow propagate the interactive connection to the parent?

    Many thanks!

     
  • Michal Bližňák

    Implemented in the trunk. See wxSFSample3 for more details (a new shape style sfsPROPAGATE_INTERACTIVE_CONNECTION is available now).

     
  • iwbnwif

    iwbnwif - 2013-08-08

    Thanks, I have downloaded the trunk from SVN and played with the new library.

    It works great for starting the interactive connection, but the ending doesn't appear to propagate through.

    For example create 2 stars, right click on the "Hello!" of the first star, move the mouse to the second star and left click on it's "Hello!". The line is not terminated. To terminate you have to click away from the text.

     
  • Michal Bližňák

    I see... I fixed that in the trunk so now it should work for the ending as well.

     
  • iwbnwif

    iwbnwif - 2013-08-09

    Perfect, exactly what is needed thank you!!

     

Log in to post a comment.