Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Auto Adjust Screen

Hi All,

There is an option in QlikView to autoadjust to screen size.

Thanks in Advance.

Regards,

Srividhya. S

7 Replies
Not applicable
Author

Hi,

There is an option in QlikView to autoadjust to screen size.

Thanks in Advance.

Regards,

Srividhya. S

Not applicable
Author

Sorry by mistake clicked verified

orital81
Partner - Creator III
Partner - Creator III

Use this Macro and apply it as a trigger to each Sheet (The Apply to all sheets doesn't seem to work for me)

Sub Zoom

ActiveDocument.GetApplication.WaitForIdle

ActiveDocument.ActiveSheet.FitZoomToWindow

'ActiveDocument.ActiveSheet.ApplyZoomToAllSheets

End Sub

christophebrault
Specialist
Specialist

Is this macro working on server and ajax view ?

Inscrivez vous à ma Newletter Qlik
DoNotMissQlik- Connect with me on Linkedin
orital81
Partner - Creator III
Partner - Creator III

Works on server, Didn't try with Ajax View.

Miguel_Angel_Baeyens

Hi,

That macro code will (FitZoomToWindow) not work with Ajax, since Ajax doesn't have the capability of auto adjust to the screen size. It will work in the Plugin since uses OCX and ActiveX functions that do provide that capability. There is no way to get any similar function with the Ajax client at least for the time being.


Regards.

Miguel

Not applicable
Author

If you modify the macro a bit, so that it looks like this:

Sub Zoom

ActiveDocument.GetApplication.WaitForIdle

ActiveDocument.ActiveSheet.FitZoomToWindow

ActiveDocument.GetApplication.WaitForIdle

ActiveDocument.ActiveSheet.ApplyZoomToAllSheets

End Sub

then the ApplyZoomToAllSheets works, too.

Regards,

Marijan