Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Funktion eine MDIChild aufrufen... (https://www.delphipraxis.net/86301-funktion-eine-mdichild-aufrufen.html)

Adversus 12. Feb 2007 13:10


Funktion eine MDIChild aufrufen...
 
Hallo alle!

Ich hätte gern mal gewusst wie man auf einem Hauptformular eine eigene Funktion eines
MDIChilds aufruft ?

Danke.

shmia 12. Feb 2007 17:29

Re: Funktion eine MDIChild aufrufen...
 
Delphi-Quellcode:
procedure TMainForm.Button42Click(...);
var
   mdifrm : TMyMDIForm;
begin
   mdifrm := TMyMDIForm(self.ActiveMDIChild);
   mdifrm.MeineSpezialFunktion();
end;


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