Einzelnen Beitrag anzeigen

Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#5

Re: Herrausfinden des Komponententyps

  Alt 25. Apr 2008, 09:15
Delphi-Quellcode:
if MyComponent is TForm then
begin
  with MyComponent as TForm do
  begin
    //
  end;
end.
  Mit Zitat antworten Zitat