Solved

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

Posted on 1998-12-20
6
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

617 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