Condition for control-fixedlist-attribute "movement" (Confluence main menu)
#1
Rainbow 
Hey there,

let's say i want to do something like this:
Quote:<control type="fixedlist" id="9000">
[...]
<movement condition="StringCompare(Container(9000).NumItems,1) | StringCompare(Container(9000).NumItems,2)">2</movement>
<movement condition="StringCompare(Container(9000).NumItems,3) | StringCompare(Container(9000).NumItems,4)">1</movement>
[...]
</control>

Any hint on how to do it?
"movement" doesn't seem to allow a condition like some other attributes.

I even ended up duplicating the complete "<control type="fixedlist" id="9000">" while disabling one or the other via visible/enable condition. That works well, but creates some minor problems becuase of the duplicated container id "9000" so it's no real solution.


Thanks for reading!
⬅️⬅️ Feel free to leave a 👍 on useful posts  |  A Confluence ZEITGEIST (A modern reimagination of Confluence)  |  axbmcuser REPO (Download Link)  |  Kodi 17.7 DSPlayer x64 BETTERGUI (2020 build)
Reply
#2
I doubt it will work but have you tried using a variable for the movement?
Reply
#3
Yes, i tried using a variable, but didn't work out as expected.

Thanks anyway, Hitcher: Smile
⬅️⬅️ Feel free to leave a 👍 on useful posts  |  A Confluence ZEITGEIST (A modern reimagination of Confluence)  |  axbmcuser REPO (Download Link)  |  Kodi 17.7 DSPlayer x64 BETTERGUI (2020 build)
Reply

Logout Mark Read Team Forum Stats Members Help
Condition for control-fixedlist-attribute "movement" (Confluence main menu)1