This Delphi source code example details how to use threads with parameters. This particular source code details how to pass the handle of the form to the thread as a parameter.
Read more about the CreateThread api:
Only Delphi source code is included in the archive.
Delphi Basics - Free Delphi Source Code - Ultimate Programming Resource > Delphi Basics Snippets >