||closing mdi app with menu
Paolo Baranzoni <email@example.com>
||Mon, 17 Feb 2020 06:01:04 -0500
GenericMDIApp.cc, Main.MNU, setup.prg, start.prg
I have some problems building an mdi app with a simple menu.
I'm following the dBASE PLUS tutorial.
I have just 4 files: start.prg, setup.prg, main.mnu and GenericMdiApp.cc
These 4 files are almost the same as written in the tutorial.
I have no forms because i just want to test the start/close of the program.
Menu file has just one item, the exit item.
But when i exit the program clicking on the exit menu item and want to come back to dBASE PLUS IDE, the menu is not restored, is still that of the app, and, if i try to open a file in the editor, IDE halts and waits ONE MINUTE before opening the editor and then the IDE menu is restored.
Same behaviour with dBASE 2019 and dBASE PLUS 12.3.1
In dBASE PLUS 2.8 IDE doesnt halt but menu is restored only after opening a file in the editor.