Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
Close application from other than main form
« previous
next »
Print
Pages: [
1
]
Author
Topic: Close application from other than main form (Read 1476 times)
scott.clark
Jr. Member
Posts: 96
Close application from other than main form
«
on:
August 11, 2017, 12:31:19 PM »
using 3.99w
How can I close the application for a form other than MainForm? I tried using ExitApplication() but get an exception. I don't want the Exit button on the main screen.
Thanks
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Close application from other than main form
«
Reply #1 on:
August 11, 2017, 01:40:49 PM »
Try
MainForm.Close
In the secondary form
Logged
scott.clark
Jr. Member
Posts: 96
Re: Close application from other than main form
«
Reply #2 on:
August 11, 2017, 05:21:47 PM »
Very nice, Thank you.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
Close application from other than main form