Hello,
Can someone help me figure how to create a component at runtime within a thread?

For example, i have 2 panels. I have 2 procedures where each procedure runs a query against a database, then parse the result and within a 'for.." loop creates some check boxes on the corresponding panel.

How i can run these procedures in a separate thread each (using BMDThread components)? The two threads should run in the same group.

Thank you in advance,
Julian