Windows DatabaseebooksStatistical Information

LLE10162 : Howto find the mainform in Delphi


You are programming in pascal and need to find the mainform


Pascal (Delphi) has a predefined structure which can be used to find the mainform quickly


You open the dpr file from the project and look at the end. You will find things like:

Application.Title := 'Appname';
Application.CreateForm(TMainForm, MainForm);

The first form that has been created, is the form that will start the application after the "Application.Run" command in the delphi source code


Hope this makes your life easier.


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring