LoadSaveFromString issue |
Post Reply |
Author | |
LittleJK
Senior Member Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Posted: 27 April 2006 at 5:40pm |
Does anyone have any ideas on how this is happening? We are trying to save the docking panes into a string to put on a db... and then using the LoadSaveFormString but it adds both pictureboxes to one pane. There should be two panes one on the right and left side.
The code we are using is this: With Me.DockingPaneManager Set PaneOptions = .CreatePane(ID_PANE_OPTIONS, 241, Int(Me.Height / 15), DockLeftOf) Set PaneFields = .CreatePane(ID_PANE_FIELDS, 115, Int(Me.Height / 15), DockRightOf) Set rs = objWOODLOCH.sel_codejock(curuser.lUserid, Me.Name, .Name) but if we comment out the last lines about setting string to the DB we get the orignial
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Are you sure ID_PANE_OPTIONS not equal ID_PANE_FIELDS? Use debug.Print to check if this constants are different. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I see .Closed = True may be these lines problem. because pane must be or PaneNoFloatable or PaneNoDockable. try to comment them. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
LittleJK
Senior Member Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
|
Well thanks, we figured it out that we had to do a .showpane in the commandbar excute because we had it as PaneFields.Closed = Not PaneFields.Closed to keep it not shown until we click on an option to bring it back.
|
|
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 |