Menu

Read-only ShapeCanvas

DekarGuy
2009-10-21
2013-04-08
  • DekarGuy

    DekarGuy - 2009-10-21

    Is there a good way to make a ShapeCanvas read-only without just going in and blocking events/actions as needed?

    I'm trying to set up an instance where I will create a diagram, and the nodes of the diagram can be selected, but every other aspect of the ShapeFramework will be disabled (no editing labels, moving shapes around, etc)

     
  • DekarGuy

    DekarGuy - 2009-10-21

    Just figured it out, turning off styles on the ShapeCanvas and the Shapes themselves accomplishes it.

    Looks like I'll need to throw in OnSelect and OnDeselect functions to accomplish what I'd like.

     

Log in to post a comment.