Normal
Hio,I am looking for a tab functionality, but can't find any way to do this.There doesn't seem to be a tab control, so I tried to get the group (stacklayout) to work, but it can't add controls to it from codebehind?xml:<control> <description></description> <type>group</type> <id>6</id> <posX>298</posX> <posY>50</posY> <width>550</width> <layout>StackLayout(2,Horizontal)</layout> <visible>no</visible> <animation effect="fade" time="1000">visiblechange</animation> </control>Codebehind:[SkinControl(6)]protected GUIGroup _Group;GUIButtonControl btn = new GUIButtonControl(6);btn.Label = "test";_Group.AddControl(btn);Do you have an idea of what I am doing wrong? Or do you have an idea for a better solution?Thanks!
Hio,
I am looking for a tab functionality, but can't find any way to do this.
There doesn't seem to be a tab control, so I tried to get the group (stacklayout) to work, but it can't add controls to it from codebehind?
xml:
<control>
<description></description>
<type>group</type>
<id>6</id>
<posX>298</posX>
<posY>50</posY>
<width>550</width>
<layout>StackLayout(2,Horizontal)</layout>
<visible>no</visible>
<animation effect="fade" time="1000">visiblechange</animation>
</control>
Codebehind:
[SkinControl(6)]
protected GUIGroup _Group;
GUIButtonControl btn = new GUIButtonControl(6);
btn.Label = "test";
_Group.AddControl(btn);
Do you have an idea of what I am doing wrong? Or do you have an idea for a better solution?
Thanks!