bResponse = ShowStatus() if bResponse = False then fLedger.Close end if
I show some stats to the user and provide the option (via MessageDialog) to quit or continue. The ShowStatus function does that work. When it returns from the function with a FALSE value (watching in the debugger) it executes the fLedger.Close statement and then proceeds to execute the statements following the end if. How do you make the window close and return to the home screen.
Desktop app, OS X Mountain Lion, Xojo 2013 r3.1
thanks for all the help you guys provide…