Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

Removing a shape from a Model

Last post 12-12-2006 7:36 PM by James Westgate. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-07-2006 12:12 AM

    Removing a shape from a Model

    Hi,

    When I remove a shape from a Model, I found that Model.Shapes.Count remains unchanged in the event handler of the ShapeRemoved event. But isn't it supposed to become n-1? Can you explain why? Thanks.
    • 71.97.120.27
  • 12-12-2006 7:36 PM In reply to

    Re: Removing a shape from a Model

    The event is fired before the shape is removed from the underlying collection, which is incorrect. A new build 3.8.2537 is now available that fixes this issue:

    http://www.crainiate.net/downloads/Crainiate.ERM.3.8.2537.zip
    • 81.153.80.231
Page 1 of 1 (2 items)