What to see in the Webgadget:
Version PB 4.61 - x86 Pdf-file is shown.
Version PB 4.61 - x64 Nothing to see (empty).
Version PB 5.11 - x86 Pdf-file is shown.
Version PB 5.11 - x64 Nothing to see (empty).
Version PB 5.70 - x86 Pdf-file is shown.
Version PB 5.70 - x64 Nothing to see (empty).
Version PB 5.72 - x86 Pdf-file is shown.
Version PB 5.72 - x64 Nothing to see (empty).
Code: Select all
OpenWindow(0, 0, 0, 600, 750, "PDF Viewer.", #PB_Window_SystemMenu | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered )
WebGadget(0, 10, 10, 580, 730, "file://C:\Dump\2021-0516-0001.pdf")
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Quit = 1
Case #PB_Event_SizeWindow
;ResizeGadget(0, 10, 10, WindowWidth(0) - 20, WindowHeight(0) - 20)
EndSelect
Until Quit = 1