![]() |
MDI Form DockingPane and CommandBars Compatibility |
Post Reply ![]() |
Author | |
yemo ![]() Newbie ![]() Joined: 22 November 2005 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() Posted: 14 January 2007 at 3:24pm |
Greetings,
Just wondered if the latest version fixed a compatibility issue with using both a Commandbar and DockingPane control on a VB6 MDi form. When this is done, only the dockingpane control is visible. NB I can upload a sample project for you to test this. I just took the CommandBar sample and the DockingPane sample and merged the two VB6 projects. |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
See samples from Common folder. GUISample for example.
You have to add
DockingPaneManager.SetCommandBars Me.CommandBars
code string. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yemo ![]() Newbie ![]() Joined: 22 November 2005 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
That's great! Thanks!
|
|
![]() |
|
yemo ![]() Newbie ![]() Joined: 22 November 2005 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
Oleg,
One further question relating to this. Is there a way of ensuring that the panels do not dock ABOVE the command bars and/or dock below any statusbars on an MDI pareent form? The function DockingPaneManager_GetClientRect doesnt seem to affect the window placement. |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
If you see DockingPanes above CommandBars, in designer right click on DockingPane and choose send to back.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yemo ![]() Newbie ![]() Joined: 22 November 2005 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
Thanks. That works.
|
|
![]() |
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 |