ISmartPart OnDeactivated

Jan 22, 2010 at 5:30 PM

I suggest to use OnDeactivated for ISmartPart. It's fired when smartpart.Visible = false.

What do you think about that?

 

Kind regards svbirdy

Feb 10, 2010 at 5:10 PM

I've checked in some code changes that will call OnActivated/OnDeactivated when Visibility of a SmartPart changes.

Feb 11, 2010 at 8:51 AM

Thank you for that :-)

But when a SmartPart gets activated when it's in the SmarPartsCollection the Method OnActivated is called two times now.

Feb 11, 2010 at 4:21 PM

So it does.  I've fixed that bug and checked in again.