AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Hauptform verschwindet nach Aufruf eines anderen Forms
Thema durchsuchen
Ansicht
Themen-Optionen

Hauptform verschwindet nach Aufruf eines anderen Forms

Ein Thema von DonManfred · begonnen am 12. Okt 2020 · letzter Beitrag vom 19. Okt 2020
 
DonManfred

Registriert seit: 8. Nov 2007
Ort: Düren
55 Beiträge
 
Delphi 10.4 Sydney
 
#12

AW: Hauptform verschwindet nach Aufruf eines anderen Forms

  Alt 13. Okt 2020, 14:43
Wie sieht denn deine DPR aus? Insbesondere in Bezug auf MainFormOnTaskbar?
Das ist die aktuelle DPR. Viele CreateForm geREMt um das Problem zu finden.

Code:
program Service;

uses
  madExcept,
  madLinkDisAsm,
  madListHardware,
  madListProcesses,
  madListModules,
  Forms,
  anmerkungen in 'anmerkungen.pas' {Form4},
  arbeitszeiten in 'arbeitszeiten.pas' {frmzeiten},
  artikelliste in 'artikelliste.pas' {artlist},
  bsumme in 'bsumme.pas' {frm_b},
  bvhselect in 'bvhselect.pas' {frmbvhselect},
  bvhsuchen in 'bvhsuchen.pas' {frmbvhsuchen},
  debug in 'debug.pas' {dbg},
  dm in 'dm.pas' {db: TDataModule},
  dmActionsSRV in 'dmActionsSRV.pas' {srvActionsResource: TDataModule},
  email in 'email.pas' {frmemail},
  frmkvdruck in 'frmkvdruck.pas' {kvdruck},
  int3OnFileDrop in 'int3OnFileDrop.pas',
  kommentare in 'kommentare.pas' {frmkommentar},
  kvtermine in 'kvtermine.pas' {frmkvtermine},
  logger in 'logger.pas' {log},
  main in 'main.pas' {frmmain},
  material in 'material.pas' {frmmaterial},
  md5 in 'md5.pas',
  monteure in 'monteure.pas' {frmmonteure},
  notizen in 'notizen.pas' {frmnotizen},
  rechtenamedefinieren in 'rechtenamedefinieren.pas' {frmrechtename},
  reklamation in 'reklamation.pas' {frmrekla},
  rma_per_email in 'rma_per_email.pas' {frmrmaemail},
  SPGetSid in 'SPGetSid.pas',
  superobject in 'superobject.pas',
  superxmlparser in 'superxmlparser.pas',
  unix_utils in 'unix_utils.pas',
  ushfileoperation in 'ushfileoperation.pas';

{$R *.res}

begin
  Application.Initialize;
  Application.HelpFile := '';
  Application.CreateForm(Tfrmmain, frmmain);
  //Application.CreateForm(Tdb, db);
  //Application.CreateForm(Tlog, log);
  //Application.CreateForm(Tdbg, dbg);
  //Application.CreateForm(Tkvdruck, kvdruck);
  //Application.CreateForm(Tfrmzeiten, frmzeiten);
  //Application.CreateForm(Tartlist, artlist);
  //Application.CreateForm(Tfrm_b, frm_b);
  //Application.CreateForm(Tfrmmonteure, frmmonteure);
  //Application.CreateForm(Tfrmnotizen, frmnotizen);
  //Application.CreateForm(Tfrmrmaemail, frmrmaemail);
  //Application.CreateForm(Tfrmemail, frmemail);
  //Application.CreateForm(TForm4, Form4);
  //Application.CreateForm(Tfrmbvhselect, frmbvhselect);
  Application.CreateForm(Tfrmbvhsuchen, frmbvhsuchen);
  //Application.CreateForm(Tfrmrekla, frmrekla);

  //Application.CreateForm(Tfrmmaterial, frmmaterial);
  //Application.CreateForm(TsrvActionsResource, srvActionsResource);

  //Application.CreateForm(Tfrmkommentar, frmkommentar);
  //Application.CreateForm(Tfrmkvtermine, frmkvtermine);
  //Application.CreateForm(Tfrmrechtename, frmrechtename);


  //Application.CreateForm(Tfrmbvhselect, frmbvhselect);
  //Application.CreateForm(Tfrmbvhsuchen, frmbvhsuchen);
  Application.Run;
end.
Aber auch das setzen von MainFormOnTaskbar (true oder false) bringt keine Änderung. Abgesehen davon das das Item auf der Taskbar einen anderen Titel bekommt. Problematik bleibt jedoch bestehen.

Geändert von DonManfred (13. Okt 2020 um 15:07 Uhr)
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:06 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