Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Prism Problem mit MDI basierend auf WinForms Applikation (https://www.delphipraxis.net/64794-problem-mit-mdi-basierend-auf-winforms-applikation.html)

Lord_Stifterl 8. Mär 2006 10:51


Problem mit MDI basierend auf WinForms Applikation
 
Hallo alle miteinander,

bin kürzlich auf Delphi 2006 umgestiegen und probiere nun auch alle möglichen Sachen aus. Momentan versuche ich eine kleine MDI-Applikation zu erstellen. Ein ChildForm zu erstellen hab ich geschafft, jedoch schaffe ich es nicht vom MDI Parent auf eine Komponente des Childs zuzugreifen. Kann mir jemand einen kleinen Denkanstoss geben?

LG
Alex

Angel4585 8. Mär 2006 10:54

Re: Problem mit MDI basierend auf WinForms Applikation
 
meinst du sowas?
Delphi-Quellcode:
 for i:= 0 to Pred(MDIChildCount) do
  if MDIChildren[i] is TDeineChildForm then
   begin
   TDeineChildForm (MDIChildren[i]).Edit1.Text:='test';
   break;
   end;
Edit: huch, hab grad gesehen das du .NET machst, Sorry :oops:

Lord_Stifterl 8. Mär 2006 11:54

Re: Problem mit MDI basierend auf WinForms Applikation
 
hat sich erledigt,

trotzdem danke


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