Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rudywelvaert
Creator
Creator

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.

0 Replies