Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Form Showing Problem (https://www.delphipraxis.net/104464-delphi-form-showing-problem.html)

Progman 4. Dez 2007 18:18

Re: Delphi Form Showing Problem
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hier ein Vorschlag:
Delphi-Quellcode:
//Original-dpr:
program testProject5;

uses
  Forms,
  testUnit5a in 'testUnit5a.pas' {frmMain},
  testUnit5b in 'testUnit5b.pas' {LoginForm};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TfrmMain, frmMain);
  Application.CreateForm(TLoginForm, LoginForm);
  Application.Run;
end.

//Geändert:
program testProject5;

uses
  Forms,
  testUnit5a in 'testUnit5a.pas' {frmMain},
  testUnit5b in 'testUnit5b.pas' {LoginForm};

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TfrmMain, frmMain);
  Application.CreateForm(TLoginForm, LoginForm);
  LoginForm.ShowModal;
  if not frmMain.LoginOK then Application.Terminate;
  Application.Run;
end.
Im Anhang das ganze als Project mit zwei Forms.

Gruß ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:03 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz