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: 
Not applicable

Restoring objects in different X and Y positions through a button

Hi,

I have a requirement wherein there are 5 buttons out of which 3 of them are A objects and two are for  B objects.A objects must appear on the right side wheras B must appaer on the left side.

Suppose i click on button A1 txt object i must be able to see both A1 and B1 text objects at their respective positions.Similarly when i click on button B1 txt object i must be able to see both A1 and B1 text objects at their respective positions.

Suppose i click on button A2 txt object i must be able to see both A2 and B2 text objects at their respective positions.Similarly when i click on button B2 txt object i must be able to see both A2 and B2 text objects at their respective positions.

I have tried to acheive this by using two restore options within the button but it  doesnt seem to work as the X and Y positions for A objects and B objects are different.So can any please let me know how this could be acheived.

I have attached a sample application too Please have a look and let me know how i could go with it

11 Replies
Not applicable
Author

Hi Nirmal,

I am really sorry for bothering you again,but when i tried to replicate the same that you have done i find that the objects are appearing in minimized forms and not getting displayed in complete.I am attaching the version wherein i have tried to replicate what you have done.Please have a look and let me know where i am going wrong..

Not applicable
Author

Hi Anushree

you are creating so many text objects in that some are selected in always.

1st you create 5 text objects mention A1,A2,A3,B1,B2

2nd create buttons mention that A1text,A2text,A3text,B1text,B2text

3rd create one variable for eg: Vshow

4th placed all objects in respective positions

5th select button action as run variable and give the variable value

6th then give the conditional lay out