<?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_GUICreateTabSheet</id>
		<title>Core Function GUICreateTabSheet - 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_GUICreateTabSheet"/>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateTabSheet&amp;action=history"/>
		<updated>2026-05-16T10:05:47Z</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_GUICreateTabSheet&amp;diff=4508&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_GUICreateTabSheet&amp;diff=4508&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:16Z</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_GUICreateTabSheet&amp;diff=4507&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_GUICreateTabSheet&amp;diff=4507&amp;oldid=prev"/>
				<updated>2014-08-11T21:40:55Z</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_GUICreateTabSheet&amp;diff=1935&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; GUICreate( &quot;TabSheet&quot;, &lt;gui object&gt;, &lt;Left&gt;, &lt;Top&gt;, &lt;Width&gt;, &lt;Height&gt; ) &lt;/pre&gt;  === Description ===  Create a TabSheet  === Parameters ===  ==== gui object ====  The GUI ob...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateTabSheet&amp;diff=1935&amp;oldid=prev"/>
				<updated>2013-01-18T09:04:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; GUICreate( &amp;quot;TabSheet&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 TabSheet  === Parameters ===  ==== gui object ====  The GUI ob...&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;TabSheet&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 TabSheet&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 TabSheet on.&lt;br /&gt;
&lt;br /&gt;
==== left ====&lt;br /&gt;
LEFT Position to create the object.&lt;br /&gt;
&lt;br /&gt;
==== top ====&lt;br /&gt;
TOP Position to create the object.&lt;br /&gt;
&lt;br /&gt;
==== width ====&lt;br /&gt;
Optional; The width of the object.&lt;br /&gt;
&lt;br /&gt;
==== height ====&lt;br /&gt;
Optional; The height of the object.&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;
=== 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;
Global $GUI = GUICreate(&amp;quot;Window&amp;quot;, &amp;quot;Hello&amp;quot;, 300, 300);&lt;br /&gt;
// Show the GUI&lt;br /&gt;
GUILoad( $GUI );&lt;br /&gt;
&lt;br /&gt;
// Make a button&lt;br /&gt;
Global $TestyButton = GUICreate(&amp;quot;Button&amp;quot;, $GUI, &amp;quot;Test...&amp;quot;, 8, 8);&lt;br /&gt;
// Make Tab sheet&lt;br /&gt;
Global $Tab = GUICreate( &amp;quot;TabSheet&amp;quot;, $GUI, 8, 48, 200, 200 );&lt;br /&gt;
// Add 2 pages to sheet&lt;br /&gt;
Global $TabPage1 = GUICreate(&amp;quot;TabPage&amp;quot;, $Tab, &amp;quot;I am Page1&amp;quot;);&lt;br /&gt;
Global $TabPage2 = GUICreate(&amp;quot;TabPage&amp;quot;, $Tab, &amp;quot;I am Page2&amp;quot;);&lt;br /&gt;
// Add buttons to page 1&lt;br /&gt;
Global $MyButton1 = GUICreate(&amp;quot;Button&amp;quot;, $TabPage1, &amp;quot;Click me!&amp;quot;, 16, 16);&lt;br /&gt;
Global $MyButton2 = GUICreate(&amp;quot;Button&amp;quot;, $TabPage1, &amp;quot;Click me too!&amp;quot;, 16, 56);&lt;br /&gt;
// Add buttons to page 2&lt;br /&gt;
Global $MyButton3 = GUICreate(&amp;quot;Button&amp;quot;, $TabPage2, &amp;quot;Click me OMG!&amp;quot;, 16, 56);&lt;br /&gt;
Global $MyButton4 = GUICreate(&amp;quot;Button&amp;quot;, $TabPage2, &amp;quot;Click me NOW!&amp;quot;, 16, 86);&lt;br /&gt;
// Add links&lt;br /&gt;
GUILink($MyButton1, &amp;quot;Click&amp;quot;, 'Println(&amp;quot;Hello from MyButton1&amp;quot;);');&lt;br /&gt;
GUILink($MyButton2, &amp;quot;Click&amp;quot;, 'Println(&amp;quot;Hello from MyButton2&amp;quot;);');&lt;br /&gt;
GUILink($MyButton3, &amp;quot;Click&amp;quot;, 'Println(&amp;quot;Hello from MyButton3&amp;quot;);');&lt;br /&gt;
GUILink($MyButton4, &amp;quot;Click&amp;quot;, 'Println(&amp;quot;Hello from MyButton4&amp;quot;);');&lt;br /&gt;
GUILink($TestyButton, &amp;quot;Click&amp;quot;, 'Testy();');&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 Testy()&lt;br /&gt;
{&lt;br /&gt;
	//GUITabSheet($Tab, &amp;quot;DelPage&amp;quot;, 0); // Uncomment to delete Page1&lt;br /&gt;
	//Unset($TabPage2); // Uncomment to delete Page2&lt;br /&gt;
	my $Index = GUITabSheet($Tab, &amp;quot;SelectedIndex&amp;quot;);&lt;br /&gt;
	println(&amp;quot;Page index selected: $Index&amp;quot;);&lt;br /&gt;
	my $Text = GUITabSheet($Tab, &amp;quot;SelectedText&amp;quot;);&lt;br /&gt;
	println(&amp;quot;Page text selected: $Text&amp;quot;);&lt;br /&gt;
	//GUITabSheet($Tab, &amp;quot;SelectedIndex&amp;quot;, 1); // Uncomment to change tab page to Page2&lt;br /&gt;
	//GUITabSheet($Tab, &amp;quot;Clear&amp;quot;); // Uncomment to delete all pages&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>