Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_mouseover Error Quandry
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00176230
Message ID:
00176738
Views:
46
>Hi Phil,
> PMFJI, but I think I might be able to help.
> I agree that you have a dangling object reference somewhere which
> is preventing the form from being destroyed. The Destroy code is
> running (VFP just doesn't finish the cleanup). This could explain
> your error with This.oHost. I suspect that This.oHost has been set
> to NULL by the Destroy logic. It also explains the greying out of
> the close button (VFP's behavior when it fails to destroy a form).
>
> The error that you are getting:(from VFP5 help file)
> ERROR #1737:
> name cannot store a value because it is not a property
> Only properties can store values.
>
> makes me suspect that _MOUSEOVERFX1 is not an object property at all,
> but rather an object that was added via the AddObject method of your
> form. Try ThisForm.RemoveObject("_MOUSEOVERFX1"). It should at least
> cause the object to go away cleanly and might cure your problem.
> HTH,
> Ned

Hi Ned,

Feel free to jump in.....REALLY! <g>

I went back and added the mouseover class to the form again (even after declaring I was finished messing with it...LOL).

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.

Also, this mess never occurs when the form is run standalone, only when it is run as part of the app/exe.

Looks like its Oh-Beer-Thirty to me. I sure appreciate all the help.
Have a great weekend!
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform