 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Nabbor Guest
|
Posted: Sat Sep 06, 2008 3:28 am Post subject: How can I changen GUI and MATH |
|
|
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
|
|
| Back to top |
|
 |
Guest
|
Posted: Sat Sep 06, 2008 5:42 am Post subject: |
|
|
| 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
|
Posted: Sat Sep 06, 2008 6:46 am Post subject: |
|
|
| 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
|
Posted: Sat Sep 06, 2008 9:31 am Post subject: |
|
|
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 |
 _________________
 |
|
| 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
|