Page 1 of 1

Changing the browser zoom level

Posted: Sat Oct 29, 2016 1:23 pm
by spidernet
Hello,

Zoom works fine, but the mouse cursor doesn't follow the window when moving.
Did I forget something important?

Code: Select all

Procedure CloseWindowEvent()
  Debug "Closing window: " + EventWindow()
  CloseWindow(EventWindow()) ; Close the specific window
EndProcedure

OpenWindow(0, 100, 100, 320, 200, "Window 0 - Resizable", #PB_Window_SizeGadget)
OpenWindow(1, 500, 100, 320, 200, "Window 1")
OpenWindow(2, 100, 400, 320, 200, "Window 2")
!document.body.style.zoom="200%"

BindEvent(#PB_Event_CloseWindow, @CloseWindowEvent())