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

DockingPane and TaskPanel

 Post Reply Post Reply
Author
Message
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Topic: DockingPane and TaskPanel
    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
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: 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... 
 
 
 
 
  
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
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post 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
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.172 seconds.