Print Page | Close Window

DockingPane and TaskPanel

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=13460
Printed Date: 09 May 2024 at 2:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DockingPane and TaskPanel
Posted By: Jean
Subject: DockingPane and TaskPanel
Date Posted: 20 February 2009 at 4:04am
Why does DockingPane work with TextBox but not with TaskPanel (and a lot of other controls)?
Please run my sample and see my problem!

uploads/20090220_040511_DockingPaneTask.zip - uploads/20090220_040511_DockingPaneTask.zip

NO-Button on start:
-Panes containing PictureBoxes
-SetParent: Place the TextBoxes on the PictureBoxes
--> Everything is fine.

YES-Button on start:
-Panes containing PictureBoxes
-SetParent: Place the TaskPanels on the PictureBoxes
--> If you click a TaskPanel, it looks like it looses its parent. The TaskPanel moves to somewhere else.

I don't understand why!

With TextBoxes it would work fine even if I don't use PictureBoxes.
TaskPanels without PictureBoxes: There's still the problem

And please don't say, that I have to use Forms instead of PictureBoxes! This would cause other problems, I can not accept!


-------------
Product: Xtreme SuitePro (ActiveX) Version 15.0.2
Platform: Windows XP (32bit) German - SP 2
Language: VB6 / C# 4.0



Replies:
Posted By: Aaron
Date Posted: 20 February 2009 at 6:36am
Hi Jean,
 
I don't say you have to use a form (I will write it ). It looks like the Taskpanel will be detached if you use pictureboxes. I did test with a form and it works OK (at least, as far I can see).
 
Using a form is not that different from using pictureboxes... 
 
 
https://forum.codejock.com/uploads/20090220_063713_TaskPanelWithFo.zip - uploads/20090220_063713_TaskPanelWithFo.zip
 
 
  


-------------
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: Jean
Date Posted: 20 February 2009 at 7:45am
Thank you for the super fast answer, Aaron!
But the Tab key doesen't work with forms.

And this seems an unsolved issue:
http://forum.codejock.com/forum_posts.asp?TID=11854
http://forum.codejock.com/forum_posts.asp?TID=11719
http://forum.codejock.com/forum_posts.asp?TID=10148
http://forum.codejock.com/forum_posts.asp?TID=11854
....

We use PictureBoxes in the Panes and we can handle the disadvantages in our application. So I don't like to change it again...

This behavior can be reproduced so easily...
Obviously the DockingPanes handles VB-TextBox different than TaskPanel (or other Controls)...
But why?


-------------
Product: Xtreme SuitePro (ActiveX) Version 15.0.2
Platform: Windows XP (32bit) German - SP 2
Language: VB6 / C# 4.0



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