New topic: App not quitting properly
<http://forums.realsoftware.com/viewtopic.php?t=26188> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message JeremK Post subject: App not quitting properlyPosted: Sun Jan 25, 2009 6:17 am Joined: Thu Apr 10, 2008 6:03 am Posts: 76 In my project, I have an editfield that displays alot of XML lines. To search strings in that EditField I have a FindWindow. In order to show the FindWindow in exactly the same state as it was when the user closed it I put: Code:hide Return not AppQuitting in the CancelClose event. The problem is that when I close the MainWindow, the FindWindow is still hidden and isn't closed. The application stays in memory and I need to kill the task from Windows' TaskMonitor to release the memory. Is there anyway to call App.Close from the MainWindow.Close Event? The odd thing is that when I close the MainWindow, the FindWindow.CancelClose event fires, but appQuitting is False. _________________ Current Project: VirtualDJ Skin Editor REALBasic 2008 R4 on Windows Vista. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
