Recent

Author Topic: Progress Bar - where do I start?  (Read 3131 times)

KarenT

  • Full Member
  • ***
  • Posts: 120
Progress Bar - where do I start?
« on: April 07, 2018, 12:11:27 am »
Hi,

is that the best the stock PB can be?

I am using "Smooth," so how can I change the slider color from overall color?

How can I make the text less stupid? Just a plain old "62%" would be nice.
"74 from [0-120] (62%)"

Thanks

lainz

  • Hero Member
  • *****
  • Posts: 3465
    • Lainz
Re: Progress Bar - where do I start?
« Reply #1 on: April 07, 2018, 12:23:40 am »
There are 2 progress bar on bgracontrols.

One is normal but you can set color and draw on it.

The other is a radial progress.

KarenT

  • Full Member
  • ***
  • Posts: 120
Re: Progress Bar - where do I start?
« Reply #2 on: April 07, 2018, 04:41:42 pm »
There are 2 progress bar on bgracontrols.

Thanks, but a huge Library just for a progress bar. I have written my own using two Panels = total control.

Justa question though, on the GitHub page, why aren't the components in a Logical Alphabetical order?

RadialPB not even close to the linear one.

Wouldn't the following be a better option? After all, we are programmers and supposed to be Logical. :)
Progressbar - Linear
Progressbar - Radial

Thaddy

  • Hero Member
  • *****
  • Posts: 9624
Re: Progress Bar - where do I start?
« Reply #3 on: April 07, 2018, 05:33:34 pm »
- Logical Alphabetical order
- Logical time order
- Logical size order
- Logical commit  order
So many options....

That was either silly  :-[ or fun..... :D :D ;D ;D >:(

After all, we are programmers... 8-)
« Last Edit: April 07, 2018, 05:35:09 pm by Thaddy »
I am more like donkey than shrek

lainz

  • Hero Member
  • *****
  • Posts: 3465
    • Lainz
Re: Progress Bar - where do I start?
« Reply #4 on: April 07, 2018, 05:42:31 pm »
The list is sorted by the name of components. Is sorted by the package editor sort option.

A package is called flash progress bar. Because we based the style on an old Skool flash player setup.  :)

lainz

  • Hero Member
  • *****
  • Posts: 3465
    • Lainz
Re: Progress Bar - where do I start?
« Reply #5 on: April 07, 2018, 06:50:10 pm »
Oh, you say the GitHub page =) I was talking about the order in the component pallete.

Well, I'm an artist then a programmer  :D

I wrote that in the order I was remembering each component.

So it's my own neural sort method.

wp

  • Hero Member
  • *****
  • Posts: 6707
Re: Progress Bar - where do I start?
« Reply #6 on: April 08, 2018, 02:01:55 pm »
I just uploaded a Lazarus port of the JVCL component JvSpecialProgress which is a progress bar with gradient support and user-configurable text display.

You can find the download of the Lazarus port of the JVCL components at https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/jvcllaz/. Note that if you don't use svn you must download the zipped snapshot of the entire Lazuarus-CCR repositiory and extract only the components that you want (here: components/jvcllaz). The recently updated JVCL components are not yet available via Online Package Manager because some compontents still have issues with design editors.

The entire JVCL port is split into several packages to avoid installation of unneeded components. you must always compile the packages JvCoreR.lpk and JvCoreD.lpk. Then, for the progressbar, you must compile JvMMLazR.lpk and install JvMMLazD.lpk. There is a demo in folder examples/JvSpecialProgress.

See also http://wiki.freepascal.org/JVCL_Components
« Last Edit: April 08, 2018, 02:29:27 pm by wp »
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

lainz

  • Hero Member
  • *****
  • Posts: 3465
    • Lainz
Re: Progress Bar - where do I start?
« Reply #7 on: April 08, 2018, 03:17:14 pm »
These components looks really good!

The HTML Label is simply amazing. Year Grid, all good components.

Shanero

  • Newbie
  • Posts: 1
Re: Progress Bar - where do I start?
« Reply #8 on: April 09, 2018, 01:17:05 pm »
These components looks really good! This testogen is for gaining muscle fast.

The HTML Label is simply amazing. Year Grid, all good components.

Hi Lainz, can you tweak the radial progress bar in any way?
« Last Edit: February 12, 2020, 10:45:20 am by Shanero »

scons

  • Full Member
  • ***
  • Posts: 139
Re: Progress Bar - where do I start?
« Reply #9 on: April 09, 2018, 02:51:23 pm »
I just uploaded a Lazarus port of the JVCL component JvSpecialProgress which is a progress bar with gradient support and user-configurable text display.

Niceee, Thanks Mr. wp !
Windows 10-64bit Lazarus 1.8.4 + FPC 3.0.4