Commandbar Controls Positions |
Post Reply |
Author | |
Ashm01
Newbie Joined: 21 December 2004 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 21 December 2004 at 4:18am |
Hi, I am a newbie to these controls and need alot of help in getting them to behave as per my requirements. I created a Progressbar by adding a custom control and that seems to work fine. However, i am not having much luck in positioning them. I tried the Position Property but, they don't seem to line up as per my requirements in picture2. I have to manually drag it across which is not what I need. I need them to be along right next to each other side by side. How can I accomplish this? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Use DockRightOf sub (See DynamicPopups Sample).
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 |
|
Ashm01
Newbie Joined: 21 December 2004 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Thanks Dude, When do you think, you guys will have support for a 'Awesome' status bar? This current one is a letdown compared to your other controls.
|
|
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 |