![]() |
Alle TControl-Komponenten auf einem Form ansprechen
![]() THXbyTOX |
Re: Alle TControl-Komponenten auf einem Form ansprechen
Delphi-Quellcode:
form1.Components
|
Re: Alle TControl-Komponenten auf einem Form ansprechen
Delphi-Quellcode:
for I := 0 to Form1.ControlCount-1 do
Verändere(Form1.Controls[I]); |
Re: Alle TControl-Komponenten auf einem Form ansprechen
Vielen Dank an euch beide! :thumb:
|
Re: Alle TControl-Komponenten auf einem Form ansprechen
controls ist vielleicht noch besser. dann hat man schonmal ne vorauswahl
|
Re: Alle TControl-Komponenten auf einem Form ansprechen
Die Lösung mit den Components hat auch den Nachteil, dass nicht sichtbare Komponenten angesprochen werden, die nicht über left, top... verfügen. Deswegen ist die Form.Controls perfekt.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:18 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