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 02:10:44
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01060055
Message ID:
01060148
Views:
16
>Fabio,
>
>Not a bug. Since the class is defined with one member element, that element can't be fully removed at runtime.
>

Before writing you should verify!
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)
		? this.Page1.Name
ENDDEFINE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform