Can anybody help me that how i can set a Progressbar righttoleft in delphi (in win). (ie it start from right side and finish in left side.
I find Something for android but I can't use it for win.
thanks a lot.
Asked
Active
Viewed 354 times
0

Community
- 1
- 1

Reza Sadigh
- 51
- 5
-
1Why can you not use the same technique as in the link? FMX components have a property to rotate them. Alternatively, you can decrease the value of the progressbar instead of increasing it. Eg. If your progress bar goes from 0 to 100, you can start from 100 and go to 0 – John Kouraklis Jul 31 '16 at 12:53
-
Just going from 100 to 0 won't make the bar start at the right side. – Rudy Velthuis Jul 31 '16 at 12:56
-
@RudyVelthuis Why is that? – John Kouraklis Jul 31 '16 at 12:59
-
If it is not rotated, 100% shows a full progressbar from left to right, while 50% goes from left to the middle. It does not go from middle to right. – Rudy Velthuis Jul 31 '16 at 13:03
-
@RudyVelthuis Yes yes I got it. The "completed" part will still be from left to right. Sorry for this – John Kouraklis Jul 31 '16 at 13:05
-
Not too hard to custom draw such a component. – David Heffernan Jul 31 '16 at 14:55
-
@David: if you want it to look themed, or at least like a proper standard control for the platform, it is not too trivial either. – Rudy Velthuis Jul 31 '16 at 15:39
-
@rudy actually still trivial using theme api – David Heffernan Jul 31 '16 at 15:41
-
@David: Easy to say, but usually not so easy to do, IME. – Rudy Velthuis Jul 31 '16 at 15:54
-
1One important question: FireMonkey (FMX) or VCL? – Rudy Velthuis Jul 31 '16 at 18:24
-
thank all my friends. yes simply goes from 100 to 0 isn't a good solution. I want it in vcl so i can't use FMX. – Reza Sadigh Aug 01 '16 at 05:09
-
Have you started learning how to write custom components? That's the way forward. – David Heffernan Aug 01 '16 at 06:53