![]() |
Befehl um alle Buttons aufzulisten?
Hallo!
Gibt es einen Befehl um eine "Sorte" von Komponenten aufzlisten, die auf dem Formular createt sind? Z.B. alle Buttons |
Re: Befehl um alle Buttons aufzulisten?
Zitat:
Delphi-Quellcode:
...:cat:...
var
I: Integer; begin for I := 0 to Pred(ComponentCount) do if Components[I] is TButton then ShowMessage(Components[I].Name); end; |
Re: Befehl um alle Buttons aufzulisten?
Hi,
schau dir mal die Eigenschaft Components deines Formulares an. Außerdem schau dir [i]as[i] an! Chris |
Re: Befehl um alle Buttons aufzulisten?
:hi:
Components & ComponentCount mfg Tobias Edit : ich bin schweizer --> langsam :cry: |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10: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 by Thomas Breitkreuz