lovromirnik Posted June 4, 2015 Share Posted June 4, 2015 Hello, does SCAR have a OnDeinit() function or something simmilar? I've been experimenting with Forms and since I'm still new to the area I often need to Ctrl + Alt + S to Stop the Script, which unfortunately leaves my Form open. In order to close it then I am forced to reopen SCAR. Thanks in advance, Lovro Mirnik Quote Link to comment Share on other sites More sharing options...
FHannes Posted June 5, 2015 Share Posted June 5, 2015 You can define the ScriptTerminate procedure, but you shouldn't be using TForm.Show at all. It's not safe and could crash SCAR. Use TForm.ShowModal instead. SCAR Divi isn't designed for multithreading, so you have to do everything in sequence (or run multiple SCAR instances) Quote Link to comment Share on other sites More sharing options...
lovromirnik Posted June 6, 2015 Author Share Posted June 6, 2015 Hello Freddy, thanks for clarifying that up, I understand. Also thanks for the answer! Quote Link to comment Share on other sites More sharing options...