Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Highlighted
Contributor

How to change Y-pos depending on value of variable

Hi,

Is there a possibility to change X-pos, Y-pos, Width and Height in Caption depending on value of variable?

e.a. When a user clicks on a button, certain objects are visible and move to a position or are invisible and when clicking on an other button other objects become visible and move to a position or become invisible


I included Positions.qvw


With two buttons a variable vChoice is set to 1 or 2

Depending on the value of vChoice, 4 buttons A, B, C and D are invisible or visible


Positions1.png

But the idea is that there are no gaps between the buttons A, B, C and D.

That means that the Y-pos has to change depending on the value of vChoice


Positions2.png

Does anybody have an idea how to do that, without creating doubles (copies) for the buttons A, B, C and D?

Thanks

R.W.