Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Form1 unter Form2 (fsStayOnTop) sperren (https://www.delphipraxis.net/98672-form1-unter-form2-fsstayontop-sperren.html)

qb-tim 30. Aug 2007 17:43


Form1 unter Form2 (fsStayOnTop) sperren
 
Hi,

Ich habe zwei Forms, wobei auf Knopfdruck Form2 über Form1 angezeigt wird. Mein Problem ist aber, dass obwohl ich fsStayOnTop auf Form2 eingestellt habe, dass man immer noch Form1 bedienen kann...

Kann ich Form1 irgendwie sperren, bis ich Form2 wieder schließe. z.B soll beim clicken auf Form1 sofort wieder Form2 angepeilt werden.

Wie mache ich das?

mkinzler 30. Aug 2007 17:49

Re: Form1 unter Form2 (fsStayOnTop) sperren
 
Versuch es mal mit .ShowModal

qb-tim 30. Aug 2007 17:50

Re: Form1 unter Form2 (fsStayOnTop) sperren
 
Wunderbar... Danke :thumb:


Alle Zeitangaben in WEZ +1. Es ist jetzt 10: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