Please, help |
Post Reply |
Author | |
OscarM
Groupie Joined: 07 November 2005 Status: Offline Points: 72 |
Post Options
Thanks(0)
Posted: 14 January 2008 at 3:37pm |
with this code:
Dim pPane As XtremeDockingPane.Pane = Nothing Dim pPaneUlt As XtremeDockingPane.Pane = Nothing With DockingPane1 pPane = .CreatePane(1, 150, 200, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing) With pPane .Hide() .Title = "Seguimiento" .Selected = True pPaneUlt = pPane End With pPane = .CreatePane(2, 150, 200, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing) With pPane .AttachTo(pPaneUlt) .Hide() .Handle = mAdjuntos.Handle .Title = "Adjuntos" pPaneUlt = pPane End With pPane = .CreatePane(3, 150, 200, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing) With pPane .AttachTo(pPaneUlt) .Handle = mDocumentos.Handle .Hide() .Title = "Documentos" pPaneUlt = pPane End With pPane = .CreatePane(4, 150, 200, XtremeDockingPane.DockingDirection.DockBottomOf, Nothing) With pPane .AttachTo(pPaneUlt) .Hide() .Handle = mTareas.Handle .Title = "Tareas" pPaneUlt = pPane End With End With With click on any pane: all docking panes are opened, and i was finding something like this: |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I have simular problems with DockingPanes. I found that when the states are saved (DockingPaneManager.SaveState) and you want to create another pane, this pane does not exist in de registry. So using the DockingPaneManager.LoadState will have affect on the panes you just created. So I didn't call DockingPaneManager.LoadState and all the panes will be created as you wanted with code. Positioning all the panes during runtime and DockingPaneManager.SaveState will do the rest. So the next time I run the app, call DockingPaneManager.LoadState, the panes are correctly positioned. I have to find a way to work around this problem.
|
|
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 |