
Savez vous pourquoi webgadget inclus systématiquement des marges lorsqu’on ouvre une page web?
est ce à cause des barres "scrolling" vertical et horizontal?
si c'est le cas, comment peut on les supprimer ces barres?
Code : Tout sélectionner
If OpenWindow(#WinApp, 0, 0, #WinAppWidth, #WinAppHeight, #WinAppTitle$, Flags)
If Not WebGadget(#WinWeb, 0, 0, #WinAppWidth, #WinAppHeight, AppHtml$)
End ; Quit
EndIf
If CreateStatusBar(0, WindowID(#WinApp))
AddStatusBarField(#PB_Ignore)
StatusBarText(0, 0, #Welcome, 0)
Else
End ; Quit
EndIf
; suite du code
EndIf
Code : Tout sélectionner
OpenWindow(0,0,0,800,600,"",#PB_Window_ScreenCentered|#PB_Window_BorderLess)
WebGadget(0,0,0,800,600,"www.google.fr")
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow