Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_mouseover Error Quandry
Message
 
À
15/01/1999 12:58:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00176230
Message ID:
00176605
Vues:
33
>>>>There may be a "dangling object" in the _mouseOverFX object. Try Robert's solution he offered AND nulling out the _mouseOverFX object: thisform._mouseOverFX1 = .NULL.
>>>
>>>
>>>I added thisform._mouseoverfx1=.null. and the cancelhighlight call to the destroy event of the form and got this:
>>>
>>>Error # 1737
>>>Program destroy
>>>Message _MOUSEOVERFX1 is a method, event, or object. (_MOUSEOVERFX1)
>>>
>>>:::thinking that patience is indeed a virtue:::
>>>
>>>TIA,
>>
>>You did do the cancel call BEFORE you did the .NULL., correct?
>
>The Mouseover Object stores an object reference to the object that is currently highlighted. This reference is cleared in the Cancelhighlight event, but if you attempt to close the form before the cancelhighlight event is called, the erefence will hang. To manually clear the reference, Use
>
>MouseOver1.oCurrentCoolControl = .NULL.

In response to Fred, yes, I did the cancelhighlight first :)

Erik, I added thisform._mouseoverfx1.oCurrentCoolControl = .NULL. to the forms destroy event and got an error "Property oCurrentCoolCOntrol not found"

Ya'll sure do have a lot of patience with us beginners. As for me, I want to kick a cat!! (j/k...well sort of)

Thanks,
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform