Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Urgent Docking Pane Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Urgent Docking Pane Issue

 Post Reply Post Reply
Author
Message
coolzsunil View Drop Down
Groupie
Groupie


Joined: 18 March 2009
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote coolzsunil Quote  Post ReplyReply Direct Link To This Post Topic: Urgent Docking Pane Issue
    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
 
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
coolzsunil View Drop Down
Groupie
Groupie


Joined: 18 March 2009
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote coolzsunil Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
coolzsunil View Drop Down
Groupie
Groupie


Joined: 18 March 2009
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote coolzsunil Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.