[quote=297574:@dave duke]I have a thread in WE which creates a listbox with the letters A-Z
for i as integer = 96 to 96+26
listxxx.addrow chr(i)
next
when I run this outside a thread I get a listbox with a-z
when I run this IN a thread, i get all the letters but not in alphabetic order?
Anyone any ideas?[/quote]
Actually the problem is that while messages are sent sequentially from the server, they are not guaranteed to arrive at the browser in the same order. Use your thread to append to an array and then user a WebTimer to pull items off the bottom of the array and send them to the browser. it’ll work much better that way.