Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: remove a Page member leave a zombie object
Message
 
 
To
18/10/2005 17:06:17
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01060055
Message ID:
01060086
Views:
13
Fabio,

Not a bug. Since the class is defined with one member element, that element can't be fully removed at runtime.

>Repro:
>
>CLEAR
>=NEWOBJECT("pageframe1")
>
>DEFINE CLASS pageframe1 AS PageFrame
>	Pagecount = 1
>
>	PROCEDURE Init
>		? "Pagecount is",this.Pagecount
>		? "Now remove the page1",this.RemoveObject("Page1")
>		? "Pagecount is",this.Pagecount
>		? "this.Page1 is a ",this.Page1
>		? "AMEMBER(PAGE1) = #",AMEMBERS(AMM,this.Page1)
>ENDDEFINE
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform