Print Page | Close Window

Can DockingPane works with CommandBars in MDI form

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5228
Printed Date: 12 December 2024 at 7:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can DockingPane works with CommandBars in MDI form
Posted By: mashixin
Subject: Can DockingPane works with CommandBars in MDI form
Date Posted: 05 October 2006 at 1:13pm
It seems that DockingPane(Ver 10.3) can not work with CommandBars(Ver 10.3) in MDI, an error occured when close the MDI form.
 
You can reproduce this error follow below steps:
 
1, Create a new VB6 project.
2, Add a MDI form to project.
3, Add a DockingPane and a CommandBars on MDI, make sure that the DockingPane is set to back layer.
4, Set this project start with MDI form.
5, Press F5 to run.
6, Close MDI form.
 
Is this a BUG?
 
Regards,



Replies:
Posted By: Oleg
Date Posted: 06 October 2006 at 12:29am
Hello,
 
You have to add in Form_Load
Set DockingPanes.CommandBars = CommandBars


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mashixin
Date Posted: 06 October 2006 at 12:44am
It works OK now.
Thanks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net