Solved

How do i get a progress bar into a panel in a status bar?

Posted on 1998-12-20
6
227 Views
Last Modified: 2010-05-03
How do i get a progress bar into a panel in a status bar?

i would like to add the progress bar control into a panel in a status bar control.  

Thanks for the help.
0
Comment
Question by:yahdude
  • 3
  • 2
6 Comments
 

Author Comment

by:yahdude
ID: 1451609
Edited text of question
0
 
LVL 3

Expert Comment

by:Foyal
ID: 1451610
you will probably have to build yourself a fake status bar from other controls. you could use a real status bar and then switch it out with the fake one when you need to use the progress bar.
0
 
LVL 3

Accepted Solution

by:
Flubbadub earned 100 total points
ID: 1451611
I think your best solution will be to add a panel to the staus bar and then, on top of that panel, place a progress bar control of the same size.  When not in use, you can hide the progress bar control and just use the panel of the status bar as normal.  I would suggest using a text type panel on the status bar and setting it's minimum width.

Hope this helps, has worked for me...

Wayne Lee-Archer
Managing Director
Everything Multimedia Australia P/L
ema@microtech.com.au
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:yahdude
ID: 1451612
the reason that i would like it to be in the panel is that if the form is resized i would like it to still be in the same place
0
 
LVL 3

Expert Comment

by:Flubbadub
ID: 1451613
if you include the progress bar control in your resize code and resize it in the same manner as everything else, that should not be an issue.

W.
0
 

Author Comment

by:yahdude
ID: 1451614
Flubbadub...would you know how?? someone else helped me with the resize and i dont get it...i am kinda new...here is what i have
Private Sub Form_Resize()
  ' Position the controls
  Drive1.Width = vsplit.Left - ControlLeft
  ImageScroller1.Move vsplit.Left + ControlSpacing, ControlTop, Me.ScaleWidth - (vsplit.Left + ControlSpacing + ControlLeft), Me.ScaleHeight - (ControlTop * 3)
  Dir1.Move ControlLeft, dirTop, vsplit.Left - ControlLeft, Hsplit.Top - dirTop
  FileList.Move ControlLeft, Hsplit.Top + ControlSpacing, vsplit.Left - ControlLeft, Me.ScaleHeight - (Hsplit.Top + ControlSpacing + ControlTop)
  ' Change the size of the splits
  vsplit.Height = Me.ScaleHeight - (ControlTop * 4)
  Hsplit.Width = vsplit.Left - ControlLeft
End Sub
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question