Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Commandbar Controls Positions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Commandbar Controls Positions

 Post Reply Post Reply
Author
Message
Ashm01 View Drop Down
Newbie
Newbie
Avatar

Joined: 21 December 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashm01 Quote  Post ReplyReply Direct Link To This Post Topic: Commandbar Controls Positions
    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?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2004 at 6:13am
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
Back to Top
Ashm01 View Drop Down
Newbie
Newbie
Avatar

Joined: 21 December 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashm01 Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2004 at 10:31pm

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. 

 

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.