Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Read Error during Lostfocus of Textbox-Subclass
Message
 
 
To
26/11/1998 08:08:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00161741
Message ID:
00162819
Views:
30
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
Previous
Reply
Map
View

Click here to load this message in the networking platform