weiß jemand warum dieser Code hier konstant 25% meiner CPU frisst?!?
Code: Alles auswählen
WebGadget(#Browser,10,595,490,220,"")
SetGadgetItemText(#Browser, #PB_Web_HtmlCode, "<body scroll=no style=margin:10></body")
Danke!
Code: Alles auswählen
WebGadget(#Browser,10,595,490,220,"")
SetGadgetItemText(#Browser, #PB_Web_HtmlCode, "<body scroll=no style=margin:10></body")
Code: Alles auswählen
Enumeration
#Browser
EndEnumeration
OpenWindow(0,0,0,970,850,"",#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_ScreenCentered)
WebGadget(#Browser,10,595,490,220,"")
SetGadgetItemText(#Browser, #PB_Web_HtmlCode, "<body scroll=no style=margin:10></body")
Repeat
EventID=WaitWindowEvent()
Delay(10)
Until EventID=#PB_Event_CloseWindow
Code: Alles auswählen
SetGadgetItemText(#Browser, #PB_Web_HtmlCode, "<body scroll=no style=margin:10></body")Code: Alles auswählen
Enumeration
#Browser
EndEnumeration
OpenWindow(0,0,0,970,850,"",#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_ScreenCentered)
WebGadget(#Browser,10,595,490,220,"")
html.s = "<!DOCTYPE html>"
html + "<body scroll=no style=margin:10></body"
html + "<html>"
SetGadgetItemText(#Browser, #PB_Web_HtmlCode, html)
Repeat
EventID=WaitWindowEvent()
Until EventID=#PB_Event_CloseWindow