ISmartPart OnDeactivated

Jan 22, 2010 at 4: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

Coordinator
Feb 10, 2010 at 4:10 PM

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

Feb 11, 2010 at 7: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.

Coordinator
Feb 11, 2010 at 3:21 PM

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