show hide listview

Discuss GUI programming with the MUI Royale plugin here
Post Reply
GMKai
Posts: 140
Joined: Mon Feb 15, 2010 10:58 am

show hide listview

Post 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?
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: show hide listview

Post 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.
Post Reply