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 

How can I changen GUI and MATH

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Nabbor
Guest





PostPosted: Sat Sep 06, 2008 3:28 am    Post subject: How can I changen GUI and MATH Reply with quote

how can i change GUI Progress Bar Label??
and also how can i math
Back to top
Slanter



Joined: 28 May 2008
Posts: 397
Location: Minnesota, USA

PostPosted: Sat Sep 06, 2008 5:06 am    Post subject: Reply with quote

RTFM and BE MORE SPECIFIC

g-labels
Gui, Add, Progress
GuiControl

Variables and Expressions
Math Functions
_________________
Unless otherwise stated, all code is untested

(\__/) This is Bunny.
(='.'=) Cut, copy, and paste bunny onto your sig.
(")_(") Help Bunny gain World Domination.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sat Sep 06, 2008 5:42 am    Post subject: Reply with quote

Code:

Gui, Add, Picture, x12 y12 w200 h50 , C:\Users\iNSANE\Desktop\at.bmp
Gui, Add, Progress, x22 y332 w430 h20 cGreen
Gui, Show, x629 y274 h379 w479, Installer
Return

GuiControl,, MyProgress, +20

GuiClose:
ExitApp


why work this not??
Back to top
Guest






PostPosted: Sat Sep 06, 2008 6:46 am    Post subject: Reply with quote

Anonymous wrote:
Code:

Gui, Add, Picture, x12 y12 w200 h50 , C:\Users\iNSANE\Desktop\at.bmp
Gui, Add, Progress, x22 y332 w430 h20 cGreen
Gui, Show, x629 y274 h379 w479, Installer
Return

GuiControl,, MyProgress, +20

GuiClose:
ExitApp


why work this not??


It's like 4AM for me and I'm dead tired... But I' guessing you forgot to declare a variable inside your progress bar...

Code:
Gui, Add, Progress, x22 y332 w430 h20 vMyProgress cGreen
Back to top
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Sat Sep 06, 2008 9:31 am    Post subject: Reply with quote

As said in the above post, plus, refer AHK Documentation for auto-execute section

Code:
Gui, Add, Progress, x22 y332 w430 h20 cGreen vMyProgress
Gui, Show, x629 y274 h379 w479, Installer

Loop 100
 {
   GuiControl,, MyProgress, +1
   Sleep 100
 }

Return                     ; end of auto-execute section

GuiClose:
ExitApp


Smile
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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