Solved

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

Posted on 1998-12-20
6
225 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
Comment Utility
Edited text of question
0
 
LVL 3

Expert Comment

by:Foyal
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:yahdude
Comment Utility
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
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now