ProjectBeforeTaskDelete calls ProjectBeforeTaskChange

G

Gabriele

Hi to all,
I have a strange problem working with ProjectBeforeTaskDelete and
ProjectBeforeTaskChange events:
when I do anything which fires the ProjectBeforeTaskDelete event, even
if I set the Cancel parameter to true, the ProjectBeforeTaskChange is
called many times. how can I interrupt the call to
ProjectBeforeTaskChange event when the ProjectBeforeTaskDelete is
fired??
any suggestion will be valued!!!
thanks in advance
Gabriele
 
M

Mark Durrenberger

If you've put the the task delete code in a different class than the task
change code,
you can set the task change class to "nothing" the do the delete and then
reset the task change class to your class...
Does this make sense?

I can explain further if necessary.
Mark


--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________

The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.

- Sir John Harvey-Jones
 
G

Gabriele

please explain me your thought as if I were a six years old child. ;)
I only want to underline that I manage these events from vba. thank you!
Gabriele
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top