![]() |
Hab den Fehler gefunden! *freu*
Hinter else fehlten noch begin und end;
Delphi-Quellcode:
procedure TForm2.Button1Click(Sender: TObject);
begin if Form1.Visible = False then begin Form1.Visible := True; SetWindowLong(Handle, GWL_HWNDPARENT, Application.Handle); end else begin Form1.Hide; SetWindowLong(Handle, GWL_HWNDPARENT, 0); Edit1.SetFocus; end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:56 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