Problem with Windowlist and docked MDIChild window |
Post Reply |
Author | |
Kenton
Groupie Joined: 05 June 2018 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 25 July 2018 at 7:52am |
Hi,
I am using CommandBars and DockingPane from V18.4.0. We have recently upgraded to CJ docking from a previous system and because the CJ docking is more flexible we now wish to provide the option to dock one of our forms that was previously an MDIChild. However, for backward compatibility we wish to allow it to remain as an MDIChild for those who want that. We have a a window list on a menu in the CommandBars (using ID XTP_ID_WINDOWLIST) that works fine with the form just as an MDIChild (showing this and other windows all as expected). But, when we try to dock the MDIChild form the window list just disappears from the menu although everything else seems to work OK. This can easily be reproduced in one of your samples as follow: 1. Load the sample project from <Codejock root>\Samples\DockingPane\VB\MDISample 2. Run the program and observe the window list working correctly on the Window menu 3. Stop the program 4. Open the frmPane form 5. Change the MDIChild property to True 6. Run the program again 7. The window list has disappeared from the Window menu but everything else seems to work as before and there are no errors. Since MDIChild is read-only at runtime the only workaround is to create and maintain two copies of this form one MDI and one non-MDI which is extra work and prone to errors. I understand if docked MDIChild forms did not appear on the window list and in fact this is in most cases desirable, but this is a problem. Kenton |
|
Kenton
Groupie Joined: 05 June 2018 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Hi, Any thoughts? Kenton |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |