How to make a repeated cicle working??
Posted: Fri Mar 04, 2016 12:09 pm
Dear friend,
i'm trying to test my code... but this don't work...the firefox is frozen... i need to make a pause and refresh my image every second and repeat it after a second....
how i can do it??
thanks a lot lestroso
i'm trying to test my code... but this don't work...the firefox is frozen... i need to make a pause and refresh my image every second and repeat it after a second....
how i can do it??
thanks a lot lestroso

Code: Select all
If OpenWindow(0, 0, 0, 1000, 500, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Repeat
WebGadget(0, 10, 10, 900, 480, "http://freeserv.dukascopy.com/ChartServer/chart?stock_id=1020&width=325&height=275&interval=10&points_number=60&view_type=candle&rfi=true")
For i = 1 To 2
Next i
ForEver
EndIf