Toolbar side by side |
Post Reply |
Author | |
Moonlite
Newbie Joined: 19 January 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 16 April 2008 at 7:40am |
Hi All,
I create TWO toolbars with code similar like this: CommandBar Toolbar = CommandBars.Add("Task", XTPBarPosition.xtpBarTop); The second toolbar always placed below the first toolbar. Can we place it side by side along with the first toolbar? C# - Codejock 12.0.0. Thanks in advance. Regards. |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
This is from a sample of CodeJock
Private Sub DockRightOf(BarToDock As CommandBar, BarOnLeft As CommandBar)
Dim Left As Long Dim Top As Long Dim Right As Long Dim Bottom As Long CommandBars.RecalcLayout BarOnLeft.GetWindowRect Left, Top, Right, Bottom CommandBars.DockToolBar BarToDock, Right, (Bottom + Top) / 2, BarOnLeft.Position End Sub
|
|
Moonlite
Newbie Joined: 19 January 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Thank you so very much! :)
|
|
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 |