Solved

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

Posted on 1998-12-20
6
226 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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 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…

867 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

22 Experts available now in Live!

Get 1:1 Help Now