RobotStudio event

[RobotStudio SDK] How to fire ProjectObjectRemovedEventHandler?

Hi!

 

Im trying to use:

Project.ActiveProject.ProjectObjectRemoved += new ProjectObjectRemovedEventHandler(ActiveProject_ProjectObjectRemoved);

but i cant get it to fire.

Im using ProjectObjectChanged instead to solve it, but would be nice to know if im doing something wrong with the ProjectObjectRemoved event.

 

Thank You,

Jens

Comments

  • Set it up and tested it. Couldn't get it to work either. So there seems to be a bug in ProjectObjectRemoved.

    I've talked to R&D and they have put it on the fix list.

    Thank you for bringing it to our attention.

    ^:)^
  • Jens Kullberg
    edited June 2013
    OK, I will keep using the ProjectObjectChanged then.

    FYI:
    I got it to fire with the Station as the sender and a Task as the RemovedObject.


    Thanks for the reply!
    /J
    Post edited by Jens Kullberg on
  •  

     Jens Kullberg said:

     
    FYI:
    I got it to fire with the Station as the sender and a Task as the RemovedObject.

    OK I will add that to the R&D case.