Home > Back-end >  The operation of the river's lake emergency Application. After the Run order
The operation of the river's lake emergency Application. After the Run order

Time:10-09

Rookie had difficulty in learning great Delphi, hope can dominate, encouraging words, the younger brother grateful!
1, need to understand the Application. The part is in accordance with what order to Run after the Run, or multiple form operation sequence is controlled by what document or the code (except for the show and showmodal call)
2, could you tell me the unit build order is in accordance with what principles, what order

Thank you shameless!!!!!!

CodePudding user response:

The two problems, as long as you choose the IDE Project - & gt; The View Source to understand,

CodePudding user response:

Compile sequence of the unit is in accordance with what principles, what order

Then again, the problem really didn't have to think carefully before,
Think in the View based on the content of the Source, need to use the Compiler then what you will decide to compile,
Should be just like this, what is the principle?

CodePudding user response:

Application. When I read it, step the Initialize before there will be a part of the compilation, where is the other did not know,. Application CreateForm is the process of creating the form, but the call is in Application. After the Run, main interface call out, part of the interface seems to call, but the control order not understand ah, thank you

CodePudding user response:

If it is exe engineering, you open the DPR unit file, there is a code, the order of the Delphi compiler, is according to the code to run order, if it is a dynamic link library (DLL), that is related to the order of the main program called

 
The program Project1.

USES the
Forms,
Unit1 in 'Unit1. Pas' {Form1};

{$R *. Res}

The begin
Application. The Initialize;
Application CreateForm (TForm1 Form1);
Application. The Run;
End.

CodePudding user response:

, spirit of exploration well, the order of the compiler, see more, source will understand, or, inside the VCL has talked about as a part of the Application. The CreateForm the culvert, go in, see, yes, there are a lot of things to learn, these words said don't understand,

CodePudding user response:

See the inside of the VCL levy, said more detailed

CodePudding user response:

The younger brother thanked masters show you here

CodePudding user response:

If you are using win32 API wrote a simple interface, you will understand the message mechanism, this there is speak in c + +,
You will see the forms unit should be able to understand many
  • Related