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

Attached

 Post Reply Post Reply
Author
Message
alexgcm View Drop Down
Newbie
Newbie


Joined: 01 November 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexgcm Quote  Post ReplyReply Direct Link To This Post Topic: Attached
    Posted: 01 November 2011 at 1:05pm
Hi there,

I'm using VB6 and ActiveX  CodeJack 13.4.2

I'm having a little problem to positione a panel where I want it to be. The below image shows what I would like to do (a) and what I got (b) or (c).

After creating the panel #1, I create the #2 panel. The problem is simple: how to create #2 panel in such a way that it would be neighbour of #1 (RightOf) but not below it?

To create panel #2, I use somehing like this:
Set Panel2 = DockingPaneManager.CreatePane(2, 220, 500, [direction,]  [neighbour])
I have already tried all combinations of [direction] and [neighbour]... no success!



Could you help me?


Thanks,


Alex

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18047
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2011 at 1:00pm
    Dim A As Pane, B As Pane, C As Pane, D As Pane, E As Pane, F As Pane, G As Pane
    
    Set A = DockingPaneManager.CreatePane(1, 200, 120, DockBottomOf)
    A.Title = "Pane A"
     
    Set B = DockingPaneManager.CreatePane(2, 200, 120, DockLeftOf)
    B.Title = "Pane B"
Back to Top
alexgcm View Drop Down
Newbie
Newbie


Joined: 01 November 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexgcm Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2011 at 2:38pm
Thank you, SuperMario!

I had already realized that it was a question of the order of panes creation.


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.