Menu on MDIDock failing after all sheets are closed
I am trying out PB12.6 Classic.
I created a template MDI application "mdi_test". It generates a target, PBL, a MDIframe, 3 sheets, n_mdi_test_sheetmanager etc.
I change the code in n_mdi_test_sheetmanager.of_opensheet
from li_rc = OpenSheet(lw_sheet, as_sheetname, w_mdi_test_frame, 0, Cascade!)
to li_rc = OpenSheetAsDocument(lw_sheet, as_sheetname, w_mdi_test_frame, as_sheetname)
I change the Window Type of w_mdi_test_frame from mdihelp! to mdidockhelp!
Start the application. Open sheets 1, 2, 3 one by one..works file.
After the last sheet is closed..the menu which is connected to the frame m_mdi_test_frame is not restored back.
Nothing happens while clicking on any menu item.
Has anybody experienced something like this?
Is this a bug or am I missing some other setting?