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

DockingPanel Layout suggestion

 Post Reply Post Reply
Author
Message
Albert1 View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2007
Location: Italy
Status: Offline
Points: 66
Post Options Post Options   Thanks (0) Thanks(0)   Quote Albert1 Quote  Post ReplyReply Direct Link To This Post Topic: DockingPanel Layout suggestion
    Posted: 07 March 2007 at 8:11am
Hello,
This simple code  will make me crazy ...

Private Sub Form_Load()
   
    Dim A As Pane, B As Pane, C As Pane, D As Pane
   
    Set A = DockingPaneManager.CreatePane(1, 600, 40, DockBottomOf, Nothing)
    A.Title = "A"
    A.Options = PaneNoCloseable + PaneNoFloatable
   
    Set B = DockingPaneManager.CreatePane(2, 600, 200, DockTopOf, A)
    B.Title = "B"
    B.Options = PaneNoHideable + PaneNoCloseable + PaneNoFloatable
  
    Set C = DockingPaneManager.CreatePane(3, 120, 120, DockRightOf, Nothing)
    C.Title = "C"
    C.Options = PaneNoCloseable + PaneNoFloatable
   
    Set D = DockingPaneManager.CreatePane(4, 120, 120, DockBottomOf, C)
    D.Title = "D"
    D.Options = PaneNoCloseable + PaneNoFloatable
   
    DockingPaneManager.Options.HideClient = True

End Sub


I cannot understand why panel A has a strange behavior. When I click on hide / show, the position is not correct. The more I click hide/show, the more panels are docked wrong.
What I wish is easy to understand (panel A should stay in the bottom of panel B and not occupy the space of panel D). Any suggestion?

Thank you

Alberto


Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2007 at 11:54am
setting the  A.MaxTrackSize.Height = 40 will make it not move all over the place. 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 1.078 seconds.