We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Running a function on Destroy();
Page Index Toggle Pages: 1
Running a function on Destroy(); ? (Read 791 times)
Running a function on Destroy(); ?
May 28th, 2005, 10:07am
 
I'm making a communication-applet, and have to sign players in and out, but i can't seem to find out how to add functions before applet is destroyed.. i.e if a user closes the browserwindow, the applet stops, but i need to add a sign out player before it stops..

how would i go about doing this, my fellow processors?

-seltar
Re: Running a function on Destroy(); ?
Reply #1 - May 28th, 2005, 6:14pm
 
id look at the howto.txt in the libraries folders in the processing folder, in there id look at the dispose() method.
Page Index Toggle Pages: 1