MicroSoft BASIC PDS v 7.1 UI Tool Box There is what I consider a bug in the ListBox() routine which causes all of your windows to be closed after calling ListBox(). The fix is relativly simple. If you would like the changes done for you, be sure all the files from this archive are in the \bc7\src directory, and type 'fixui', this will run EDLIN using input from FIXUI.EDL which will 'patch' the window.bas file. It will then be recompiled, linked, and libed. If you prefer to edit by hand: 1) Load WINDOW.BAS in the QBX editor. 2) Look in the ListBox() routine, near the top you will see a line which begins: WindowOpen 1,... 3) Change the line to read: WindowOpen LBWindow,... 4) Insert a line above the WindowOpen LBWindow,... which reads: LBWindow = WindowNext 5) Use the Search feature to find 'WindowClose'. The line will read: WindowClose 0 This causes all windows to be closed. Change the '0' to LBWindow. 6) Save the file. 7) From the \bc7\src directory, execute the enclosed makeui.bat file. (ui.lnk and ui.lib should also be in the \bc7\src directory.) The files in this archive were created by John Johnson, they have been tested and were functional at ZIP time, however, nothing is fool proof. If something should go wrong, you can re-install BASIC. Backing up the '\bc7\src\window.bas' and '\bc7\lib\uitbefr.*' files should cover all the bases.