Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: remove a Page member leave a zombie object
Message
From
19/10/2005 07:59:49
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01060055
Message ID:
01060186
Views:
17
the zombi is a true object!
CLEAR
ON ERROR ?? "Error: ",MESSAGE()
=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
		? "extract the zombi reference"
		oZombi = this.Page1
		? "this.Page1.name is ",this.Page1.Name
		? "zombi.name is ",oZombi.Name
		? "Addobject fire a error: ",this.AddObject("Page1","page")
		? "Add a page member it makes to relive the zombi"
		this.PageCount = 1
		? "this.Page1.name is ",this.Page1.Name
		? "Page1 is a new object ",oZombi=this.Page1
                addproperty(oZombi,"some",34)
                ? oZombi.some
ENDDEFINE
Previous
Reply
Map
View

Click here to load this message in the networking platform