![]() |
FormularListe !?!?
Hallo.
Wie kann ich nachschauen ob geweisse Formulare offen sind. wenn ja welche. Kann ich z.b. wenn Ein Bestimmtes Formular Geschlossen ist eine Aktion ausführen !? beispiel. Ich habe Form1, Form2, Form3 und Form4 Nun möchte ich wenn Form2 geschlossen wird nachschauen ob noch andere Formulare offen sind wenn alle ausser Form1 geschlossen sind soll z.b. die Meldung "Keine Fenster offen" angezeigt werden. geht das ?? wenn ja wie ?? Gruss Sascha |
Re: FormularListe !?!?
Hi Sascha,
jedes Formular hat ein Ereignis "OnClose". In diesem Ereignis könntest Du die anderen Formulare abfragen, z.B. mit "if not (Form2.Visible and Form3.Visible) then..." Gruß, SirTwist |
Re: FormularListe !?!?
Hallo Sascha,
die von dir gesuchte Formularliste stellt dir Delphi über das Objekt ![]() Gruß Hawkeye |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:50 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 by Thomas Breitkreuz