![]() |
Panel ComponentCount ergibt 0 obwohl Panels drauf sind...
Abend,
ich hab ein Panel (pnlContainer) auf welchen sich 2 weitere Panels befinden. ComponentCount von pnlContainer ergibt aber 0. Warum? Ciao, Andy |
Re: Panel ComponentCount ergibt 0 obwohl Panels drauf sind..
Verwende Controls/ControlCount wenn du visuellen Child-Elemente eines visuellen Controlls wissen willst. Components/Componentcount liefert "nur" die per Owner zugewissenen Komponenten. Bei Formularen ist diese i.d.R. das Forumlar.
|
Re: Panel ComponentCount ergibt 0 obwohl Panels drauf sind..
Hmm. Da sollte in der Delphi-Hilfe bei ComponentCount schon ein Verweis auf ControlCount stehen. Naja, jetzt weiß ichs ja. Vielen Dank und einen schönen Abend. :-D
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:58 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