Urgent Docking Pane Issue |
Post Reply |
Author | |
coolzsunil
Groupie Joined: 18 March 2009 Status: Offline Points: 28 |
Post Options
Thanks(0)
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
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
coolzsunil
Groupie Joined: 18 March 2009 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
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. |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
coolzsunil
Groupie Joined: 18 March 2009 Status: Offline Points: 28 |
Post Options
Thanks(0)
|
I modified this code to use a different id of 15, but it still it does not work fine.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
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 |