<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_GUICreateProgressBar</id>
		<title>Core Function GUICreateProgressBar - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_GUICreateProgressBar"/>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;action=history"/>
		<updated>2026-05-16T10:05:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;diff=4372&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;diff=4372&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:07Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;diff=4371&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;diff=4371&amp;oldid=prev"/>
				<updated>2014-08-11T21:40:51Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:40, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;diff=1597&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; GUICreate( &quot;ProgressBar&quot;, &lt;gui object&gt;, &lt;Left&gt;, &lt;Top&gt;, &lt;Width&gt;, &lt;Height&gt; ) &lt;/pre&gt;  === Description ===  Create a ProgressBar  === Parameters ===  ==== gui object ====  The ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateProgressBar&amp;diff=1597&amp;oldid=prev"/>
				<updated>2012-03-28T07:46:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; GUICreate( &amp;quot;ProgressBar&amp;quot;, &amp;lt;gui object&amp;gt;, &amp;lt;Left&amp;gt;, &amp;lt;Top&amp;gt;, &amp;lt;Width&amp;gt;, &amp;lt;Height&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Create a ProgressBar  === Parameters ===  ==== gui object ====  The ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
GUICreate( &amp;quot;ProgressBar&amp;quot;, &amp;lt;gui object&amp;gt;, &amp;lt;Left&amp;gt;, &amp;lt;Top&amp;gt;, &amp;lt;Width&amp;gt;, &amp;lt;Height&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Create a ProgressBar&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== gui object ====&lt;br /&gt;
&lt;br /&gt;
The GUI object to place the ProgressBar on.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns the new GUI object.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns 0 if error occurs.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
The progress bar will do nothing unless you change its &amp;quot;Value&amp;quot; ie progress.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
// Create the GUI&lt;br /&gt;
$GUI = GUICreate(&amp;quot;Window&amp;quot;, &amp;quot;GUI&amp;quot;, 200, 200);&lt;br /&gt;
// Show the GUI&lt;br /&gt;
GUILoad( $GUI );&lt;br /&gt;
// Create a progress bar&lt;br /&gt;
$PBar = GUICreate(&amp;quot;ProgressBar&amp;quot;, $GUI, 8, 8);&lt;br /&gt;
// Create a timer to update the progress bar&lt;br /&gt;
$Timer = GUICreate(&amp;quot;Timer&amp;quot;, $GUI, 200);&lt;br /&gt;
GUILink($Timer, &amp;quot;Tick&amp;quot;, 'TimerTicky($me);');&lt;br /&gt;
GUITimer($Timer, &amp;quot;Start&amp;quot;);&lt;br /&gt;
// Alternatively change the ProgressBar style uncomment one to see the effect&lt;br /&gt;
//GUIProgressBar($PBar, &amp;quot;Style&amp;quot;, &amp;quot;Continuous&amp;quot;);&lt;br /&gt;
//GUIProgressBar($PBar, &amp;quot;Style&amp;quot;, &amp;quot;Blocks&amp;quot;);&lt;br /&gt;
//GUIProgressBar($PBar, &amp;quot;Style&amp;quot;, &amp;quot;Marquee&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// Keep the GUI running as long as long as the window is open&lt;br /&gt;
While ( GUIStatus( $GUI ) ) DoEvents( );&lt;br /&gt;
&lt;br /&gt;
Function TimerTicky( $me )&lt;br /&gt;
{&lt;br /&gt;
	my $Progress = GUIGetProp($PBar, &amp;quot;Value&amp;quot;);&lt;br /&gt;
	if($Progress &amp;gt;= 100)&lt;br /&gt;
	{&lt;br /&gt;
		$Progress = 0;&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		$Progress += 10;&lt;br /&gt;
	}&lt;br /&gt;
	GUISetProp($PBar, &amp;quot;Value&amp;quot;, $Progress);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>