In Delphi, you can assign a component’s property values before the main form is created by modifying the code in the project (.dpr) file — create the form manually using Application.CreateForm, then set the properties before showing it.
project (.dpr)
Application.CreateForm