zilav Posted November 6, 2014 Posted November 6, 2014 Is there a proper way to close application if I have a "Quit" button? - calling Close on MainForm - MainModule.UniMainModule.Terminate - anything else? Quote
mhmda Posted November 6, 2014 Posted November 6, 2014 UniApplication.Terminate('See you next time'); 1 Quote
Administrators Farshad Mohajeri Posted November 6, 2014 Administrators Posted November 6, 2014 - calling Close on MainForm - MainModule.UniMainModule.Terminate Both have the same result. 1 Quote
Daryl McMurray Posted February 13, 2018 Posted February 13, 2018 Yes there is - UniApplication.Terminate('GoodBye'); // to put the app in a closed state in the browser PostThreadMessage(MainThreadID,wm_quit,0,0); // will tell the main application to terminate Use only for testing though... or users will be able to terminate the server.exe Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.