 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
kapege.de
Joined: 07 Feb 2005 Posts: 186 Location: Munich, Germany
|
Posted: Thu Feb 17, 2005 12:17 pm Post subject: Progress Bar |
|
|
I'm trying to create a progress bar that shows the used space of a CD (701 MB in size).
If I try the lines below the progress bar only shows 4 segments instead of showing almost a full CD.
Am I wrong or is it a bug? It is the third bar of three. First and second bar works fine.
First I thougt my variables was wrong but even when I use numbers (701 and 649) directly it won't work either.
| Code: | gui, add, Progress, w300 r1.5 ym vPDaten Range0-%myCapa% cMaroon, %myUsedSpace%
gui, add, Progress, w300 r1.5 vKDaten Range0-%myFilesNum% -Smooth
gui, add, Progress, w300 r1.5 vCDProg Range0-701 -Smooth, 649 |
That line does not a almost full progress bar, but a almost empty one.
The line
| Code: | | gui, add, Progress, w300 r1.5 vCDProg Range0-200 -Smooth , 200 |
does a half-full bar instead of a full one.
I've your latest version (1.0.26.01).
Nevertheless: AHK is great stuff!
I hope you can help me. Many thanx in advance
Peter |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Feb 17, 2005 1:24 pm Post subject: |
|
|
Thanks; that will be fixed in the next update.
Here is a temporary workaround:
Gui, add, Progress, w300 r1.5 vCDProg Range0-701 -Smooth, 649
GuiControl,, CDProg, 649 ; This line is the workaround. |
|
| Back to top |
|
 |
kapege.de
Joined: 07 Feb 2005 Posts: 186 Location: Munich, Germany
|
Posted: Thu Feb 17, 2005 1:47 pm Post subject: |
|
|
Life can be so easy.
Thanx!
Peter |
|
| Back to top |
|
 |
kapege.de
Joined: 07 Feb 2005 Posts: 186 Location: Munich, Germany
|
Posted: Fri Feb 18, 2005 12:46 pm Post subject: |
|
|
| Chris wrote: | | Thanks; that will be fixed in the next update. |
You made my day!
Thanx for the update
Peter |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|