Page 1 of 1

show hide listview

Posted: Fri May 09, 2014 12:51 pm
by GMKai
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?

Re: show hide listview

Posted: Sun May 11, 2014 2:33 pm
by airsoftsoftwair
Your code looks correct but it is not complete so there could be other parts that are wrong and cause this behaviour. Please prepare a minimal example script and XML definition and post it here. Then I can check where the problem is.