Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory Read Error during Lostfocus of Textbox-Subclass
Message
 
 
À
26/11/1998 08:08:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00161741
Message ID:
00162819
Vues:
23
Thomas,

I don't think you can have an object tell it's parent to remove itself. I think you should just to a this.Release() instead.

>Textbox LostFocus Event:
>
> loObject = This.MasterObject
> If Type ('loObject') = "O" And loObject.BaseClass = "Label"
> loObject.Caption = This.Value
> This.Parent.RemoveObject (This.Name)
> * Release This && first version
> EndIf
> <- at this point the error-message appears
>
>What's wrong? Any help appreciated
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform