[lazarus] Again some basic questions

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jul 4 08:16:59 EDT 2002


On Thu, 4 Jul 2002 11:14:01 +0200
Josse Colpaert <Josse.Colpaert at student.kuleuven.ac.be> wrote:

> About TMainIDE.Create: 
> 
> 
> - MainIDE:=Self Why? 

The MainIDE is created in lazarus.pp via Application.CreateForm(TMainIDE,MainIDE). This method first creates the form and _then_ assigns it to the variable. But the variable is already needed by some IDE parts during the creation. For example TDebugManager.ConnectMainBarEvents.


> - ParseCmdLineOptions is called in TMainIDE.Create and in 
> the main program in lazarus.pp  Why?  

A relict. I removed the double parsing.


Mattias






More information about the Lazarus mailing list