![]() |
FindComponent auf andere Unit?
Hi,
Ich habe in meiner Form2 eine ganze Menge Edit Felder die ich von meiner Form1 aus ändern möchte. Dafür eignet sich bei mir bestens die Findcomponent Funktion weils sie alle name1, name2, name3... heissen. Allerdings funktioniert das FindComponent bei mir nur innerhalb einer Unit, ausserhalb kann ich irgendwie nicht zugreifen, heisst: TEdit(FindComponent('Form2.name'+inttostr(i))).tex t:='...'; funktioniert nicht. hat jemand eine Idee? schonmal danke im vorraus :) |
Re: FindComponent auf andere Unit?
Moin!
Ja, rufe FindComponent der 2. Form auf... MfG Muetze1 |
Re: FindComponent auf andere Unit?
(Form2.FindComponent...)
|
Re: FindComponent auf andere Unit?
einfach wie immer. I love Delphi :)
dankeschön :) |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:17 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