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?
show hide listview
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: show hide listview
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.