Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvent to Form.Unload
Message
 
 
To
25/08/2008 12:59:35
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:
01341574
Views:
14
I expalined why it doesn't work elsewhere in this thread.

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform