i have a problem with busybar... it move at the end of the scan... any idea please ?
Code: Select all
Function scan()
If Not HaveObject(#INTERVAL, 2)
SetInterval(2, p_BusybarTimer, 80)
y = moai.get("listview", "Entries") - 1
For i = 0 To y - 1
a1$, a2$, a3$, a4$, a5$, a6$, a7$, a8$, a9$, a10$, a11$ = moai.domethod("listview", "getentry", i)
p_change()
moai.DoMethod("listview", "Rename", i, a1$, a2$, a3$, a4$, a5$, a6$, a7$, a8$, a9$, a10$, a11$, a11$)
Next
Else
ClearInterval(2)
moai.DoMethod("busybar", "reset")
EndIf
EndFunction