Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvent to Form.Unload
Message
From
25/08/2008 12:59:35
 
 
To
25/08/2008 12:50:15
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01341442
Message ID:
01341572
Views:
10
Hi,
I tried simple test code as below, but it doesn't work.
aaa=CREATEOBJECT("form")
bbb=CREATEOBJECT("daa")

BINDEVENT(aaa,"unload", bbb,"handle")
BINDEVENT(aaa,"destroy", bbb,"handle")

aaa.release()

DEFINE CLASS daa as Line

	PROCEDURE handle() 
	
	MESSAGEBOX("DDD")
	
	ENDPROC
	

ENDDEFINE
Please advice. Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform