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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

urgent help on minimize and maximize the objects

Hello Friends,

Could you please tell me how to this.

Please find the attached.

Regards

Chriss

1 Solution

Accepted Solutions
Not applicable
Author

Here you go.

FYI the conditional show of the objects managed by variables is found on the layout tab.

Hope this helps.

View solution in original post

6 Replies
Not applicable
Author

hi

see macro code

sub test

set v = ActiveDocument.Variable("visible")

if ActiveDocument.GetSheetObject("LB03").IsMinimized  then ActiveDocument.GetSheetObject("LB03").Maximized

v.setContent "0", true

end if

end sub

Not applicable
Author

Hi Viswarajan,

Thanks for your reply, the macro which shows a parse error, and the idea which is not clear to me.

Could you please help me how to apply in to the Max.qvw.

Regards

Chriss

Not applicable
Author

Hello Chris,

You can control this using buttons instead of clicking on the minimised chart box,
there are actions on these buttons you can stack up for maximising and minimising objects or alternatively
you could conditionally show them by toggling a variable value.

Thanks

Not applicable
Author

Hello Philiphand,

Thanks for your reply, Yes, you are correct, when i have 3 charts means, its working fine as setting the propertey as minimized and maximized.

Now, I have four charts, I don't know how to control it.

Could you please apply the settings in my attached test qv (Max.qvw), it will helpful to me.

Regards

Chriss.

Not applicable
Author

Here you go.

FYI the conditional show of the objects managed by variables is found on the layout tab.

Hope this helps.

Not applicable
Author

Hello Philiphand,

Excellent...

I got it how its worked....

Regards

Chriss