Main.OnUnload event
Posted: Tue Oct 14, 2014 9:39 am
Can we get a new event that fires when a configuration file is unloaded, something that is the mirror image of Main.OnInit ?
Motivation: I need to broadcast an event over the LAN when the configuration is closed, so that the other computers know that they should not use Network Event Sender or Broadcaster etc. to send events to this computer.
I already trap Main.OnClose for when EventGhost closes, but that does not help when changing XML configuration files.
The name of it is not important, Main.OnQuit or whatever, but the purpose would be useful.
Motivation: I need to broadcast an event over the LAN when the configuration is closed, so that the other computers know that they should not use Network Event Sender or Broadcaster etc. to send events to this computer.
I already trap Main.OnClose for when EventGhost closes, but that does not help when changing XML configuration files.
The name of it is not important, Main.OnQuit or whatever, but the purpose would be useful.