Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cycle Reference
Message
From
15/01/2004 17:58:35
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
14/01/2004 05:00:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00866550
Message ID:
00867319
Views:
23
Hi Cetin!
>x = CREATEOBJECT('dad')
>x.RELEASE
>
>DEFINE CLASS dad as Custom
>	son = null
>	PROCEDURE init
>		this.son = CREATEOBJECT([son])
>		this.son.dad = this
>	ENDPROC
>	PROCEDURE destroy
>		MESSAGEBOX([Dad - Destroy])
>	ENDPROC
>	PROCEDURE release
>		this.son = null
>	endproc
>ENDDEFINE
>***--------------------------------***
>DEFINE CLASS son as Custom
>	dad = null
>	PROCEDURE init
>	ENDPROC
>	PROCEDURE destroy
>		MESSAGEBOX([Son - Destroy])
>	ENDPROC
>ENDDEFINE
I can't intercept Release event.
Thanks!
P.S.: See Fabio Lunardon answer (thread #866550, message #866622). It's work very well.
See you!
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform