Einzelnen Beitrag anzeigen

nahpets
(Gast)

n/a Beiträge
 
#35

AW: OpenDialog erscheint nicht

  Alt 10. Nov 2016, 18:56
Noch 'ne etwas 'blödere' Idee:

Setze in der DPR mal das Hauptformular nach vorne bzw. das TDataModul1 nach ganz hinten:
Delphi-Quellcode:
begin
  Application.Initialize;
  Application.Title := 'Tagesblatt';
  Application.CreateForm(TMain, Main);
  Application.CreateForm(TAbwesenheit, Abwesenheit);
  Application.CreateForm(TGeplUrlAnz, GeplUrlAnz);
  Application.CreateForm(TGepl_Urlaub, Gepl_Urlaub);
  Application.CreateForm(TAufMich, AufMich);
  Application.CreateForm(TPasswordInputBox, PasswordInputBox);
  Application.CreateForm(TEintrag, Eintrag);
  Application.CreateForm(TDataModule1, DataModule1);
  Application.Run;
end.
Grund:

Das erste Formular in der DPR wird zum Application.MainForm. Das ist bei Dir aber ein Datenmodule. Da dieses nicht angezeigt wird, könnte es sein, dass Deinem Programm hier das Hauptformular als anzeigbares Forumlar fehlt und damit der etwas irritierende Seiteneffekt ohne jede Fehlermeldung auftritt.
  Mit Zitat antworten Zitat