Subject What's the right way of using threads with IBO?
Author clatu_earth
Hi fellows!

This may be a newbie question but here it goes anyway... ;-)

My application does a refresh of a query on a FB database every 3
seconds. This is to display a list of events on an IB_Grid.

The refresh is done within the main thread of the aplication, then
"freezing" it as long as the query is running.

My question is: can I just put the refresh command inside a separate
thread to liberate the aplication visual controls? I know that any
code that update visual controls should be done inside a Synchronize()
call, but can't figure out how to do it.

Any help would be apreciated!
Thanks!
Alexandre