Hi Phil,
I think that the object "_MouseOverFX1" went away, your new error seems to
confirm this. It also explains why you couldn't set "_MouseOverFX1" to NULL.
It was indeed added via AddObject. All of this still doesn't solve your problem.
>I added the code as you suggested and got an error:
>
>Error # 1925
>Program mousemove
>Message Unknown member _MOUSEOVERFX1. (_MOUSEOVERFX1)
>Line # 2
>
>Some symptoms....after pressing the X, it greys out, but now ANY movement of the mouse calls this error. Before, an error was generated only after pressing X and going back over the cmdbtns that use the mouseover class.
You said that you traced the call to CancelHighlight() and watched as the oCurrentCoolControl property was set to NULL. The only thing I can think of is to call CancelHighlight() before you reach the Destroy method. Try the QueryUnload method.
HTH,
Ned
Ned
Reality is.