Jump to content
Sign in to follow this  
Default

Being on the receiving end of a WinClose.

Recommended Posts

Default

Hi,

I have two scripts... If Script A sends WinClose ( "Script B"). How do I get Script B to save it's data before it closes?

Share this post


Link to post
Share on other sites
dbzfanatic
BrettF
Default

Thanks for the replies.

B has a $GUI_EVENT_CLOSE function but that doesn't get called when it's closed by A.

Unfortuantely A doesn't start B. I will investigate EnvSet/EnvGet though.

Share this post


Link to post
Share on other sites
ResNullius

Hi,

I have two scripts... If Script A sends WinClose ( "Script B"). How do I get Script B to save it's data before it closes?

Check out Opt("OnExitFunc"...)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×