DelphiDelphiVCLPythonPython GUIWindows

What is the MainForm Property in DelphiVCL.Application?

The MainForm or DelphiVCL.Application.MainForm property identifies the form in the application that is the main form. The value of MainForm is the form that is the application’s main window. The main form is the first form created in the main body of the application by a call to CreateForm. When the main form closes, the application terminates. MainForm cannot be modified at run time (it…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn About The Application's InitInstance Method

InitInstance or DelphiVCL.Application.InitInstance method is used to initialize a newly allocated object instance to all zeros and initializes the instance’s virtual method table pointer. How to use the InitInstance Method properly? You should not call InitInstance directly. InitInstance is called by NewInstance when an object is created. When overriding NewInstance, be sure to call…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Understanding The Application.HelpKeyword Property

We can use the HelpKeyword property or DelphiVCL.Application.HelpKeyword to display the Help topic specified by the keyword. Use HelpKeyword to show the Help topic, which has the Keyword parameter and which is from the file specified in the CurrentHelpFile property. HelpKeyword invokes the current Help system, passing it the string specified by Keyword. If the current Help system is HTMLHelp…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn What You Need To Know About The Initialize Method

Initialize or DelphiVCL.Application.Initialize method provides an opportunity to initialize subsystems. Initialize is the first method called by the project source file. It calls the InitProc procedure pointer. Warning: Only one instance of InitProc can be defined in an application. If more than one unit assigns a value to InitProc, only the last assignment will work. You can, however…
Read more