![]() |
Re: Delphi Form Showing Problem
Liste der Anhänge anzeigen (Anzahl: 1)
Hier ein Vorschlag:
Delphi-Quellcode:
Im Anhang das ganze als Project mit zwei Forms.
//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. Gruß ;) |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:03 Uhr. |
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