![]() |
Control bar problem |
Post Reply ![]() |
Author | |
oyalhi ![]() Newbie ![]() ![]() Joined: 27 January 2005 Location: Turkey Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() Posted: 28 July 2005 at 9:09am |
I have a dockable window and a controlbar (menu) in my app. The dockable window is docked to the left most side as it should. However, the menu bar on top starts right after the dockable window. The menu bar does not start from the very top left and go to the far right. It is at the very top but the left side starts after the dockable window. What could be causing this, any ideas? Regards, Omer |
|
![]() |
|
oyalhi ![]() Newbie ![]() ![]() Joined: 27 January 2005 Location: Turkey Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
This is the code for docking the windows: DockingPaneManager.SetCommandBars Me.CommandBars |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Add this before panes are created:
DockingPaneManager.SetCommandBars Me.CommandBars Then on you form, right-click on the DockingPane Control and select "Send-To-Back" |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Opps, didn't see you posted code. Just make sure DockingPaneManager.SetCommandBars Me.CommandBars
is used before you create any panes ![]() |
|
![]() |
|
oyalhi ![]() Newbie ![]() ![]() Joined: 27 January 2005 Location: Turkey Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
Send to back did the trick. I would have never guessed in one million years. Thanks SuperMario. |
|
![]() |
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 |