The Tab Pane thing is a bit strange, though you don't need to create those directly anyway
The following is an example of how to set this up:
Code: Select all
<Window Type="DefaultGUISheet" Name="Demo">
<Property Name="RelativeMaxSize" Value="w:1 h:1" />
<Property Name="Size" Value="w:1 h:1" />
<Window Type="Taharez Tab Control" Name="Demo/TabCtrl">
<Property Name="RelativeMaxSize" Value="w:1 h:1" />
<Property Name="Position" Value="x:0.25 y:0.1" />
<Property Name="Size" Value="w:0.5 h:0.8" />
<Window Type="DefaultGUISheet" Name="Demo/TabCtrl/Page1">
<Property Name="Text" Value="Test Page 1" />
<Window Type="Taharez Button" Name="Demo/TabCtrl/Page1/Button">
<Property Name="RelativeMaxSize" Value="w:1 h:1" />
<Property Name="Position" Value="x:0.1 y:0.2" />
<Property Name="Size" Value="w:0.45 h:0.095" />
<Property Name="Text" Value="Hello World" />
</Window>
</Window>
<Window Type="DefaultGUISheet" Name="Demo/TabCtrl/Page2">
<Property Name="Text" Value="Test Page 2" />
<Window Type="Taharez Button" Name="Demo/TabCtrl/Page2/Button">
<Property Name="RelativeMaxSize" Value="w:1 h:1" />
<Property Name="Position" Value="x:0.3 y:0.4" />
<Property Name="Size" Value="w:0.45 h:0.095" />
<Property Name="Text" Value="Push Button" />
</Window>
</Window>
<Window Type="DefaultGUISheet" Name="Demo/TabCtrl/Page3">
<Property Name="Text" Value="Test Page 3" />
</Window>
</Window>
</Window>
So basically, after creating the "Taharez Tab Control", you add children of type "DefaultGUISheet", which in turn contains the controls you want on that page. Set the text of the DefaultGUISheet to set the button label
HTH
CE.