![]() |
Re: Tstrings als VCL
Delphi-Quellcode:
Und wo liegt das Problem wenn sie nicht in der DFM liegen? Am Ende landet sowieso alles in der exe :gruebel:
procedure TForm1.FormCreate(Sender: TObject);
begin SL := TStringList.Create; SL.Add('Test1'); SL.Add('Test2'); SL.Add('Test3'); end; Oder ist es vielleicht zu umständlich, die eine Zeile zu kopieren und die Strings einzufügen? Greetz alcaeus |
Re: Tstrings als VCL
Zitat:
|
Re: Tstrings als VCL
Moin!
Zitat:
MfG Muetze1 |
Re: Tstrings als VCL
Zitat:
Wenn dann schon so:
Delphi-Quellcode:
private
procedure SetStrings(Value: TStrings); published property Strings: TStrings read FStrings write SetStrings; end; procedure TStringsContainer.SetStrings(Value: TStrings); begin FStrings.Assign(Value); end; |
Re: Tstrings als VCL
Das kommt davon, wenn man quick'n'dirty was dahinschmiert! :wall:
Hast natürlich absolut recht. :oops: :pale: |
Re: Tstrings als VCL
Zitat:
|
Re: Tstrings als VCL
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:08 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 by Thomas Breitkreuz