Delphi form show
- delphi form show
- form showmodal delphi
- delphi form showmodal result
- delphi show form in taskbar
Docwiki.embarcadero.com › Libraries › Sydney › Vcl.Forms.TCustomFor.
I am trying to create an application with 2 forms in Delphi XE6. Depending on a ParamStr setting Form2 may or may not be shown before Form1.!
Delphi: Event Order of a Form - From OnCreate to OnDestroy
Concerning this topic I have the following remarks:
Lazarus:
- TForm.OnCreate
Form.Visible=false and Form is invisible, Form remains invisible even after Form.Show; followed by Application.ProcessMessages; - TForm.OnShow
Form.Visible=true, but Form remains invisible despite Form.Visible=true and remains unchanged even after Application.ProcessMessages; - TForm.OnActivate
Form.Visible=true and Form is finally visible
Delphi:
- TForm.OnCreate
Form.Visible=false and Form is invisible, however, Form becomes visible already within the OnCreate routine after Form.Show; followed by Application.ProcessMessages; as well as automatically after finishing TForm.OnCreate - TForm.OnShow
Form.Visible=true and Form is visible - TForm.OnActivate
Form.Visible=true and Form is visible
Clarification concerning OnActivate: TForm.OnActivate will always be invoked if the corresponding form becomes focused for the first time, i.e.
after OnCreate and after the subsequent first call of OnShow.
If an application has more than one single fo
- delphi show form without focus
- delphi show form on second monitor