LB Booster
« Leave mainwin open, then how do I close it from GU »
Welcome Guest. Please Login or Register. Apr 1st, 2018, 05:06am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
Leave mainwin open, then how do I close it from GU
« Thread started on: Apr 30th, 2015, 10:39am »
Although using GUI, I would like to leave the mainwin open, so that text can be directed to it, which will show exactly what will be printed out hard copy.
Easy to do. Don't include nomainwin.
What I would like to do is to close down the main win when I close the GUI program.
I have looked at LB and there is a solution in NewsDesk #53, but this was written with Windows 95 in mind and gives an error in Windows 8.
What I would like to do is to close down the main win when I close the GUI program.
I think you'll find that happens automatically in a compiled program (i.e. an EXE). If you execute the END statement it will close the mainwin.
It's only when running in the IDE, when the mainwin is intended to be used principally as a debugging aid, that it remains open even after an END statement.