Board index » delphi » How and when is form member variables created?

How and when is form member variables created?

I want to know when and how my form member variables are created. In
the source file, my form components as Buttons, list etc. are declared
as published but they are explicitly never created. I Guess that this
is done somewhere in the inherited constructor method, but how are the
names of my variables identified by the constructor?
 

Re:How and when is form member variables created?


the forms use the Treader to assign all of the properties that are in
resource.
then is calls the formCreate.
 this is done for each form in the FormCreate .
after that the Application. sends messages to forms as need to show them.

Quote
Roger Kanstrup wrote:
> I want to know when and how my form member variables are created. In
> the source file, my form components as Buttons, list etc. are declared
> as published but they are explicitly never created. I Guess that this
> is done somewhere in the inherited constructor method, but how are the
> names of my variables identified by the constructor?

Other Threads