sub RunUserInterface()
screen = CreateObject("roSGScreen")
scene = screen.CreateScene("HomeScene")
port = CreateObject("roMessagePort")
screen.SetMessagePort(port)
screen.Show()
....
scene.gridContent = ParseJsonContent(list)
...
while true
msg = wait(0, port)
print "--------- o --------"
print "msg = "; msg
print clock
end while
if screen <> invalid then
screen.Close()
screen = invalid
end if
end sub
Thank you for your reply EnTerr, and sorry for the late reply, I believed I had already done it. I created a Task exclusively to make the calls to the server given your explanation and have worked perfectly so far! Thank you for taking your time explaining it!