OnExit Func Inside a Class
Posted: 02 Feb 2019, 17:46
With the "new" OnExit func, I want to be able to exit the script and have the OnExit function to be a function that's inside a class (Without using __Delete).
For example:
For example:
Code: Select all
Class StartupClass {
__New() {
OnExit() ; What goes in here?
}
}
Class ExitClass {
OnExitFunction() {
MsgBox, Closing down!
}
}