Autor Beitrag
lexmy3
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Mo 10.10.05 12:13 
Hi,

Möchte meine Einträge aus der CheckListBox in RichEdit einfügen!

RichEdit.1.Lines.Add (FormGeneral.CheckListBoxGeneral.Items);
Aber hier Fehler: Inkompatible Typen String und TStrings???

Was machen??

Mfg
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6393
Erhaltene Danke: 147

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 10.10.05 12:16 
Lines.Add erwartet einen String. Du übergibst aber etwas vom Typ TString.
Habs leider nicht genau im Kopf, aber es sollte auch eine Methode geben, mit der du die Liste hinzufügen kannst. Schau einfach mal in der OH nach.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mo 10.10.05 12:17 
Hallo,

ausblenden Delphi-Quelltext
1:
RichEdit.1.Lines.AddStrings(FormGeneral.CheckListBoxGeneral.Items);					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
lexmy3 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Mo 10.10.05 12:51 
user profile iconLannes hat folgendes geschrieben:
Hallo,

ausblenden Delphi-Quelltext
1:
RichEdit.1.Lines.AddStrings(FormGeneral.CheckListBoxGeneral.Items);					


Danke das war die Lösung meines Problems!!!