Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_mouseover Error Quandry
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
_mouseover Error Quandry
Miscellaneous
Thread ID:
00176230
Message ID:
00176230
Views:
69
I've added the _mouseover class to a form; the form runs in a top-level form. The form works fine when running along, but when I run it as part of the app, or exe, it behaves oddly.

If I mouse over the navigation controls that use the effects, and then use the "X" to close the form, the X suddenly disables (and the CLOSE is gone from the Windows menu). If I place the mouse back over one of the other controls I get:

Data type mismatch
highlightme
Line 34

Line 34 is:

WITH This.oHost

then a string of successive error messages appears, each relating to the various expressions inside the WITH.

After adding the mouseover effects class I added cancelhighlight to the control container and the form (something that is not used in TASTRADE). And I also added this code to prevent disabled controls from being highlighted:

*MouseMove of each button
if thisform._datanavbtns1.cmdtop.enabled=.t.
THISFORM._mouseOverFX1.HighlightMe(this)
endif

Any ideas how I can resolve this?
Phil Thomas
http://phillipdthomas.com

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

Click here to load this message in the networking platform