Code: Select all
mui.Set("grteamcontract","hide",False)
mui.Set("grteamlineup","hide",True)
mui.Set("grteamtraining","hide",True)
Code: Select all
<vgroup title="team" samesize="true" frametitle="Team" frame="group" background="groupback">
<button id="btteamcontract" notify="pressed" frame="button">\33A[4]Contract</button>
<button id="btteamlineup" notify="pressed" frame="button">\33A[4]Lineup</button>
<button id="btteamtraining" notify="pressed" frame="button">\33A[4]Training</button>
<button id="btgotomain4" notify="pressed" frame="button">\33A[9]main</button>
<vgroup id="grteamcontract" title="contract" hide="true" samesize="true" frame="group" background="groupback">
<listview id="teamcontractlist" MultiSelect="Default" frame="InputList" notify="active">
<column title="ID" hidden="true"/>
<column title="Name"/>
<column title="Strength"/>
<column title="Runtime"/>
<column title="Wage"/>
</listview>
<hgroup frame="group" background="groupback">
<cycle id="cyplayernewruntime">
<item>12</item>
<item>24</item>
<item>36</item>
<item>48</item>
</cycle>
<button id="btteamcontractplayeroffer" notify="pressed" frame="button">\33A[4]Extend</button>
</hgroup>
<rectangle/>
</vgroup>
<vgroup id="grteamlineup" title="lineup" hide="true" samesize="true" frame="group" background="groupback">
<hgroup frame="group" background="groupback">
<vgroup title="formation" samesize="true" frame="group" background="groupback">
<cycle id="cyteamlineupformation">
<item>4-4-2</item>
<item>3-5-2</item>
<item>4-3-3</item>
<item>5-3-2</item>
</cycle>
<button id="btteamformationset" notify="pressed" frame="button">\33A[4]Set</button>
</vgroup>
<colgroup id="grteam442" hide="true" columns="5">
<text/><text>9</text><text/><text>11</text><text/>
<text>7</text><text>10</text><text>6</text><text/><text>8</text>
<text>2</text><text>4</text><text>5</text><text/><text>3</text>
</colgroup>
<colgroup id="grteam352" hide="true" columns="5">
<text/><text>9</text><text/><text>11</text><text/>
<text>7</text><text>6</text><text>10</text><text>3</text><text>8</text>
<text>2</text><text/><text>5</text><text/><text>4</text>
</colgroup>
<colgroup id="grteam433" hide="true" columns="5">
<text/><text>9</text><text>10</text><text>11</text><text/>
<text/><text>7</text><text>6</text> <text>8</text> <text/>
<text>2</text><text>4</text><text>5</text><text/><text>3</text>
</colgroup>
<colgroup id="grteam532" hide="true" columns="5">
<text/><text>9</text><text/><text>11</text><text/>
<text/><text>7</text><text>10</text> <text>8</text><text/>
<text>2</text><text>4</text><text>5</text><text>6</text><text>3</text>
</colgroup>
</hgroup>
<vgroup title="players" hide="true" samesize="true" frame="group" background="groupback">
<rectangle/>
</vgroup>
<rectangle/>
</vgroup>
<vgroup id="grteamtraining" title="training" hide="true" samesize="true" frame="group" background="groupback">
<rectangle/>
</vgroup>
<rectangle/>
</vgroup>
when firing the action the program immediately stops, without any errormessage, just the window disappears...what is wrong with code/xml?