Maximal := Form1.ControlCount-1;
Aber vor dem Freigeben prüfen ob das was du da hast auch wirklich ein Label ist
Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."