1. Progress Bar

Hello everybody,

  Does anybody know how to make a multicolor Progress Bar?

The top half of the bar would be a different color than the bottom. Both the
stationary bar and the one that moves.

Don Cole

new topic     » topic index » view message » categorize

2. Re: Progress Bar

don cole wrote:
> 
> 
> Hello everybody,
> 
>   Does anybody know how to make a multicolor Progress Bar?
> 
> The top half of the bar would be a different color than the bottom. Both the
> stationary bar and the one that moves.
> 
> Don Cole

If I understand you correctly you wish to have a horizontal progress bar with
the upper half a different color than the bottom. The progress bar control does
not directly support this. There are a number or ways this could be done but all
would require that your application draw the bar and background itself. Is this
really necessary?

Larry Miller

new topic     » goto parent     » topic index » view message » categorize

3. Re: Progress Bar

don cole wrote:
> 
> 
> Hello everybody,
> 
>   Does anybody know how to make a multicolor Progress Bar?
> 
> The top half of the bar would be a different color than the bottom. Both the
> stationary bar and the one that moves.
> 
> Don Cole

Hi there Don,


There are several custom Progress bar controls that come with
WinClass.  Some of them draw some fancy stuff like diamonds
inside the control.  One of them draws a bar with shadow and
highlight.  You should be able to either use one as is or
see how to draw your own without too much trouble as one
of these can be modified to look like you want it too.

Not sure what 'type' of progress bar you want, but some of them
in WinClass run by themselves once started, so the end user sees
something happening while a long operation takes place.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

4. Re: Progress Bar

> 
> 
> posted by: Larry Miller <larrymiller at sasktel.net>
> 
> don cole wrote:
> > 
> > 
> > Hello everybody,
> > 
> >   Does anybody know how to make a multicolor Progress Bar?
> > 
> > The top half of the bar would be a different color than the bottom.
> > Both the stationary bar and the one that moves.
> > 
> > Don Cole
> 
> If I understand you correctly you wish to have a horizontal progress
> bar with the upper half a different color than the bottom. The
> progress bar control does not directly support this. There are a
> number or ways this could be done but all would require that your
> application draw the bar and background itself. Is this really
> necessary?

I believe Bach does this. And you can have retro-look round meters 
too.

Kat

new topic     » goto parent     » topic index » view message » categorize

5. Re: Progress Bar

Thank you Larry, Al and Kat,

  Larry I think that's what I have to do create my own with graphics.

Al I experimented with your winclass and got diamonds and even made little
squares. But that's not the effect I want. Perhaps I should say shading rather
than multi color.

Kat I don't know what Bach is but will look into it.

If I ever get my cus9om Progress bar complete I will post it.

Thanks everyone.

Don Cole

new topic     » goto parent     » topic index » view message » categorize

6. Re: Progress Bar

don cole wrote:
> 
> Thank you Larry, Al and Kat,
> 
>   Larry I think that's what I have to do create my own with graphics.
> 
> Al I experimented with your winclass and got diamonds and even made little
> squares.
> But that's not the effect I want. Perhaps I should say shading rather than
> multi
> color.
> 
> Kat I don't know what Bach is but will look into it.
> 
> If I ever get my cus9om Progress bar complete I will post it.
> 
> Thanks everyone.
> 
> Don Cole

Hi Don,

There is already one in there with shading.  All you have to do
possibly is make it wider (or higher).
It's a regular progress bar too, not a marquee.
Run "Rebar-Scrolls-ProgressBar-Marquee04-Demo.exw" and see the
progress control that comes up in the lower left corner of
the main window.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

7. Re: Progress Bar

> 
> 
> posted by: don cole <doncole at pacbell.net>


> Kat I don't know what Bach is but will look into it.

An offshoot of Euphoria. See:
http://catexa.com/

It was in the Eu user contribs, but isn't anymore.

Kat

new topic     » goto parent     » topic index » view message » categorize

8. Re: Progress Bar

Kat wrote:
> 
> > 
> > posted by: don cole <doncole at pacbell.net>
> 
> 
> > Kat I don't know what Bach is but will look into it.
> 
> An offshoot of Euphoria. See:
> <a href="http://catexa.com/">http://catexa.com/</a>
> 
> It was in the Eu user contribs, but isn't anymore.
> 
> Kat
> 
> 

Thanks Kat,

I just now saw your message.

But I think I've pretty much got it complete with euphoria.



Don Cole

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu