Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Tlabel & String (https://www.delphipraxis.net/6913-tlabel-string.html)

Dopeman 27. Jul 2003 11:52


Tlabel & String
 
Hallo,
Ich habe ein Tlabel un dwollte es mit einem String füllen:
Delphi-Quellcode:
Var s:string;
Label1:=s;
Aber es kommt immer ne Fehlermeldung Inkompitable Typen TLabel und String. Hat jemand ne Idee wie man das Problem lösen kann? Danke im Voraus.

Duffy 27. Jul 2003 11:54

Re: Tlabel & String
 
Hallo Dopeman,
so geht es
Delphi-Quellcode:
Var s:string;
Label1.Caption:=s;
bye

Dopeman 27. Jul 2003 11:58

Re: Tlabel & String
 
Zitat:

Zitat von Duffy
Hallo Dopeman,
so geht es
Delphi-Quellcode:
Var s:string;
Label1.Caption:=s;
bye

Ich bin ein bisschen vergesslich *g* hab schone 1 jahr kein delphi gemacht 8)


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:04 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz