show hide listview
Posted: Fri May 09, 2014 12:51 pm
Hello,
I want to display/hide a group.
This is the definition:
<vgroup id="freecoach" disabled="false" frame="group" frametitle="Coachlist">
<listview id="freecoachlist" autovisible="true" MultiSelect="None" frame="InputList" notify="active">
<column title="Name"/>
<column title="Type"/>
<column title="Competence"/>
<column title="Tactic"/>
</listview>
</vgroup>
This is the command:
mui.set("freecoach","hide",True)
but the group does not disappear.
As seen in the example "ShowHide.hws"
mui.Set(msg.muiuserdata, "hide", Not msg.triggervalue)
works,
but what could make the nearly same code fail within my program?
I want to display/hide a group.
This is the definition:
<vgroup id="freecoach" disabled="false" frame="group" frametitle="Coachlist">
<listview id="freecoachlist" autovisible="true" MultiSelect="None" frame="InputList" notify="active">
<column title="Name"/>
<column title="Type"/>
<column title="Competence"/>
<column title="Tactic"/>
</listview>
</vgroup>
This is the command:
mui.set("freecoach","hide",True)
but the group does not disappear.
As seen in the example "ShowHide.hws"
mui.Set(msg.muiuserdata, "hide", Not msg.triggervalue)
works,
but what could make the nearly same code fail within my program?