473,385 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

progress bar right to left

Is there a way to display the steps of a progress bar from right to
left? I am trying to show a visual interpretation of a number and I am
using two progress bars. When the number is positive, the right prgress
bar will grow from left to right accordingly. When the number is
negative, I want the left progress bar to grow from right to left
(showing the number is getting smaller).

Is this possible? If not, what would you suggest?

Thanks,
D

Jan 24 '06 #1
3 4103
Moshazu wrote:
Is there a way to display the steps of a progress bar from right to
left? I am trying to show a visual interpretation of a number and I am
using two progress bars. When the number is positive, the right prgress
bar will grow from left to right accordingly. When the number is
negative, I want the left progress bar to grow from right to left
(showing the number is getting smaller).

Is this possible? If not, what would you suggest?

Thanks,
D


Instead of doing it with a progress bar I'd do a simple
Graphics.FillRectangle.

Put a picture box in place of your progressbar. You could use other
object or event just paint on the form directly. In the
PictureBox.OnPaint do a e.Graphics.FillRectangle.

You can use Brushes.Black for the brush that it ask for, if you want it
the same color every time. Then just fill in the box you want drawn
baised on your numbers.

Chris
Jan 24 '06 #2
ProgressBar1.RightToLeft = Windows.Forms.RightToLeft.Yes
ProgressBar1.RightToLeftLayout = True
"Moshazu" <da***********@lmicorporation.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Is there a way to display the steps of a progress bar from right to
left? I am trying to show a visual interpretation of a number and I am
using two progress bars. When the number is positive, the right prgress
bar will grow from left to right accordingly. When the number is
negative, I want the left progress bar to grow from right to left
(showing the number is getting smaller).

Is this possible? If not, what would you suggest?

Thanks,
D

Jan 24 '06 #3
Works like a charm. Thanks all!!

Rocky wrote:
ProgressBar1.RightToLeft = Windows.Forms.RightToLeft.Yes
ProgressBar1.RightToLeftLayout = True
"Moshazu" <da***********@lmicorporation.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Is there a way to display the steps of a progress bar from right to
left? I am trying to show a visual interpretation of a number and I am
using two progress bars. When the number is positive, the right prgress
bar will grow from left to right accordingly. When the number is
negative, I want the left progress bar to grow from right to left
(showing the number is getting smaller).

Is this possible? If not, what would you suggest?

Thanks,
D


Jan 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: rob | last post by:
Hi All, I have an asp script which updates upto 300000 records each time it is run. I would like to have a textbox which says records progressed : then in increments of 100 or 1000 whilst the...
2
by: Ethan | last post by:
I'm trying to set up a page with a header and 2 columns. I would like to use <div>s rather than tables. The page is here... http://64.142.13.246/style_testing_site/style_model2.htm In both IE...
1
by: Eva | last post by:
hi, I have just managed to add a progress bar to my statusbar control. the problem i am having is that t appears in the far left as default. I want it to appear in the far right side of the...
8
by: Brian Henry | last post by:
I created a smooth progress bar with this code.. but if you update the values in a row quickly of it and watch it on screen it flickers... how would i change this to reduce the flickering?...
5
by: B-Dog | last post by:
I'm trying to build a custom progress bar that will run as some subs are running in the background but when I open the custom form with the progress bar on it using the showdialog, none of the subs...
2
by: Diogo Alves - Software Developer | last post by:
Hi, I am having a giant headache because a progress bar on a statusStrip. Ok I will describe all the details to get help from anyone.... I have a MainForm, this form as a a component that is...
1
by: Marko Vuksanovic | last post by:
I am trying to implement a file upload progress indicator (doesn't have to be a progress bar) using atlas... I do realize that the indicator cannot be implemented using Update panel control, but is...
9
by: esakal | last post by:
Hello, I'm programming an application based on CAB infrastructure in the client side (c# .net 2005) Since my application must be sequencally, i wrote all the code in the UI thread. my...
15
by: eladla | last post by:
Hi! I am creating a composite control the does some of it`s own data access. I want to display a progress bar between the time the page is loaded and the control place holder is displayed and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.