AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Progress Bar

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
kapege.de



Joined: 07 Feb 2005
Posts: 186
Location: Munich, Germany

PostPosted: Thu Feb 17, 2005 12:17 pm    Post subject: Progress Bar Reply with quote

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
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Thu Feb 17, 2005 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kapege.de



Joined: 07 Feb 2005
Posts: 186
Location: Munich, Germany

PostPosted: Thu Feb 17, 2005 1:47 pm    Post subject: Reply with quote

Life can be so easy. Very Happy Very Happy Very Happy

Thanx!

Peter
Back to top
View user's profile Send private message Visit poster's website
kapege.de



Joined: 07 Feb 2005
Posts: 186
Location: Munich, Germany

PostPosted: Fri Feb 18, 2005 12:46 pm    Post subject: Reply with quote

Chris wrote:
Thanks; that will be fixed in the next update.


You made my day! Cool

Thanx for the update


Peter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group