Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   animatewindow mit ShowModal (https://www.delphipraxis.net/175296-animatewindow-mit-showmodal.html)

EarlyBird 11. Jun 2013 13:22

animatewindow mit ShowModal
 
Hallo,
kann man mit AnimateWindow ein Modales Formular anzeigen?
Delphi-Quellcode:
AnimateWindowProc(myModalForm.Handle,300, AW_ACTIVATE or AW_SLIDE or AW_HOR_POSITIVE or AW_VER_POSITIVE);
myModalForm.ShowModal;
Damit wird das myModalForm angezeigt aber leider reagiert dann die gesamte Anwendung nicht mehr

DeddyH 11. Jun 2013 13:31

AW: animatewindow mit ShowModal
 
Und wenn Du im OnShow des modalen Formulars
Delphi-Quellcode:
AnimateWindow(Handle, 300, AW_ACTIVATE or AW_SLIDE or AW_HOR_POSITIVE or AW_VER_POSITIVE);
einträgst?

EarlyBird 11. Jun 2013 13:31

AW: animatewindow mit ShowModal
 
#Danke DeddyH
Bin eben auch schon selber drauf gekommen

gelöst :oops:

So klappts jetzt
Delphi-Quellcode:
procedure myModalForm.FormShow(Sender: TObject);
begin
 AnimateWindow(self.Handle,350, AW_ACTIVATE or AW_SLIDE or AW_HOR_POSITIVE or AW_VER_POSITIVE);
end;
Sorry für die überflüssige Frage


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:53 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz