0 Replies Latest reply: Jan 29, 2010 10:14 AM by AtifAhmad RSS

    Application Size Width/Height on Ajax

    AtifAhmad

      Hi,

      We are using the following script to resize sheet to the size of the client screen

      it works good in IE plugin but with Ajax it does not work.

      we have V9 server and is developed in Qlikview v8.5 moved to 9

       

      sub ZoomToFitWindow

      ActiveDocument.GetApplication.WaitForIdle
      If ActiveDocument.GetApplication.ScreenWidth = 1280 and ActiveDocument.GetApplication.ScreenHeight = 1024 then
      set thisSheet=ActiveDocument.ActiveSheet
      set sp=thisSheet.GetProperties
      sp.ZoomFactor = 1.0
      thisSheet.SetProperties sp
      else
      ActiveDocument.ActiveSheet.FitZoomToWindow
      end if

      end sub