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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to group objects to minimize/maximize together?

Dear all,

I need to group some objects as they must work as just one in order to maximize/minimize together.

For example, I have two graphics (one per country and another one per state) and also a table with some related data.

I need that when I maximize on of the graphics, th eothe rone and also the table maximize together, and same when minimizing.

I already did that using a macro with restore and minimize functions but it's now usefull as I need to rewrite the same code for each object:





Sub MaximizeSalesTotals
ActiveDocument.GetSheetObject("CH235").restore
ActiveDocument.GetSheetObject("CH240").minimize
ActiveDocument.GetSheetObject("CH241").minimize
ActiveDocument.GetSheetObject("CH233").minimize
ActiveDocument.GetSheetObject("CH236").minimize
ActiveDocument.GetSheetObject("CH237").minimize
ActiveDocument.GetSheetObject("CH238").minimize
ActiveDocument.GetSheetObject("CH239").minimize
End Sub

Is possible to do that in other way? what about using layers? Any idea?

Thanks in advance for you support

Víctor Aznar



1 Reply
Not applicable
Author

Hi Victor,

so far I know there isn´t another way to achieve this.

If you will work with QV version 9 next time you can use "Actions" and macros are obsolete for this task.

Rainer