Autor Beitrag
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 25.08.05 11:37 
Wie ich schon weiter oben sagte:
Die Sichtbarkeit eines Formulars kann nicht in onShow oder onActivate verändert werden!

ABER:
Warum WILLST du denn unbedingt dieses Fenster aus dem Fenster heraus schließen. Bei mir gab es diese Notwendigkeit nie und sehe sie auch bei dir nicht!
Ich habe stets das Fenster vor dem Beginn einer Aktion angezeigt und dann danach auch wieder geschlossen. In dem Formular selbst war bei mir eigentlich nie Quelltext, da ich nur die Statusanzeigen aktualisiert habe, und das von außen.
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: Do 25.08.05 16:02 
So wie du es meinst hatte ich es davor, aber (!!) dann kann der user auf das Formular dahinter zugreifen, was ich nicht will.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 29.08.05 07:20 
Da brauchst du ja nur Form1.Enabled auf False zu setzen und die Fortschrittanzeige auf StayOnTop...

Dann kann der User gar nix in Form1 mehr machen!
Heiko Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3169
Erhaltene Danke: 11



BeitragVerfasst: So 04.09.05 11:47 
thx, es funktioniert so.