Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have three buttons (Button 1, 2 and 3) which, on click, I want to replace a list box (i.e. hide the others and show the one attributed to the button, i.e. Table 1, 2 and 3). So when I click on button two, it will show Table 2, and then when I click on Button 1, I want to hide Table 2 and show Table 1 instead.
Is this possible?
Thanks!
Hello,
this is definitely possible.
I have attached an example QVW where you can see how I have achieved this. This was done using a variable for each table you want to show/hide. The variables are set in Settings > Variable Overview.
The three buttons then each have an action to set these variables as either 1 or 0, 1 being show and 0 being hide.
There are then conditional shows on each table object which will only show when their corresponding variable is set to 1.
Please mark as answered if you are happy with this answer.
Attached with answer.
Steps:
And thats it. make sure the variable name matches. They are case sensitive.
Thanks
if you want to hide/show 3 listbox with buttons, you can use previous answers
or in a simpler way create justa singleobject, a single listbox and use a cyclic group to show the 3 different dimensions