DockingPane and TaskPanel |
Post Reply |
Author | |
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
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 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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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...
|
|
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.... |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
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 |
|
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 |