shaunthasheep
2007-01-14 16:47:32
[more of a general scar question]
i am making a program that connects to internet *through the connection functions* and it gets data from the host every time, by using a TTimer, but every time it freezes(the form)… which sucks (form is pretty much needed). TTimer, using .OnTimer. calls a procedure like every 1-2 seconds (needs to update fast) the procedure calls the ReadConnectData function (which just grabs the data, (function doesn't take less then 1 second, fast as other functions)) and then uses other functions to process and parse the data. but the form freezes like hell (even if it checks like every 2 seconds.) any idea on how i can fix this?
i mean u can still use form, but it frozen more then unfrozen.
i am making a program that connects to internet *through the connection functions* and it gets data from the host every time, by using a TTimer, but every time it freezes(the form)… which sucks (form is pretty much needed). TTimer, using .OnTimer. calls a procedure like every 1-2 seconds (needs to update fast) the procedure calls the ReadConnectData function (which just grabs the data, (function doesn't take less then 1 second, fast as other functions)) and then uses other functions to process and parse the data. but the form freezes like hell (even if it checks like every 2 seconds.) any idea on how i can fix this?
i mean u can still use form, but it frozen more then unfrozen.