Print Page | Close Window

Urgent Docking Pane Issue

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=16169
Printed Date: 24 June 2024 at 7:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Urgent Docking Pane Issue
Posted By: coolzsunil
Subject: Urgent Docking Pane Issue
Date Posted: 11 February 2010 at 5:10am
Hi,
 
I modified one of the C# samples shipped with CodeJock ActiveX Docking Pane.
 
In this sample I have added another menu option to add a new pane. When I add a new pane in the handler, I notice that
my existing pane gets grayed out.
 
Is there anything that is wrong in this code?
 
Regards
Sunil
ActiveX Docking Pane 13.0
 
http://forum.codejock.com/uploads/20100211_050952_DockingIssue.zip - uploads/20100211_050952_DockingIssue.zip



Replies:
Posted By: Aaron
Date Posted: 12 February 2010 at 1:50pm
Hi,
 
I guess you create pane with same ID, twice...
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: coolzsunil
Date Posted: 16 February 2010 at 12:01am
No Aaron, I am not creating pane with the same ID twice.
The ids are different. The only thing common is that it is being docked wrt to the frame at the same position in which a pane has already been docked.


Posted By: Aaron
Date Posted: 16 February 2010 at 4:25am
Hi,
 
I don't have VB.NET so I can't test your project... I opened file with Wordpad. I looked and found that you create a pane with menuItem6 with same ID
 
 

private void frmMain_Load(object sender, System.EventArgs e)

{

//........

Pane paneA = DockingPaneManager.CreatePane(1, 200, 120, DockingDirection.DockLeftOf, null);

//...........

 
 
private void menuItem6_Click(object sender, EventArgs e)

{

Pane paneA1 = DockingPaneManager.CreatePane(1, 200, 120, DockingDirection.DockLeftOf, null);

paneA1.Title = "Pane A1";

}

 
 
Maybe this has been the problem all along...


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: coolzsunil
Date Posted: 22 February 2010 at 6:24am
I modified this code to use a different id of 15, but it still it does not work fine.


Posted By: Aaron
Date Posted: 22 February 2010 at 1:47pm
Hi,
 
Try with ID = 2,3,4,5,6 or 7 because of array size in AttachPane event.
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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