Einzelnen Beitrag anzeigen

Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: überprüfen ob Component TControl ist

  Alt 13. Jan 2006, 15:22
mit is

Delphi-Quellcode:
For Index := 0 To self.ComponentCount - 1 Do
  Begin
    If( self.Components[Index] is TControl ) Then
    (self.Components[Index] as TControl).Visible := false;
  End;
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat