Progress Bar Sample: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 (Created article.)  | 
				m (BrokenLinks: Samples, ...)  | 
				||
| Line 1: | Line 1: | ||
Back to [[Samples]]  | [[Category:Samples]]  | ||
Back to [[:Category:Samples|Samples]]<!-- look at possible separate samples page -->  | |||
'''Illustrates:'''  | '''Illustrates:'''  | ||
* Usage of   | * Usage of {{Help File|ProgressOn}}, {{Help File|ProgressSet}}, and {{Help File|ProgressOff}} functions.  | ||
* Uses   | * Uses {{Help File|Sleep}} as well, although that is not the main focus.  | ||
<syntaxhighlight lang="autoit">  | |||
  ProgressOn("Progress Bar", "Sample progress bar", "Working...")  |   ProgressOn("Progress Bar", "Sample progress bar", "Working...")  | ||
| Line 16: | Line 18: | ||
  Sleep(750)  |   Sleep(750)  | ||
  ProgressOff()  |   ProgressOff()  | ||
</syntaxhighlight>  | |||
Latest revision as of 13:33, 17 November 2012
Back to Samples
Illustrates:
- Usage of ProgressOn, ProgressSet, and ProgressOff functions.
 - Uses Sleep as well, although that is not the main focus.
 
 ProgressOn("Progress Bar", "Sample progress bar", "Working...")
 
 For $i = 0 To 100
 	ProgressSet($i)
 	Sleep(5)
 Next
 
 ProgressSet(100, "Done!")
 Sleep(750)
 ProgressOff()