Autor Beitrag
deagle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 89



BeitragVerfasst: Do 12.09.02 15:39 
Hallo!

Ich habe 2 Fragen:

1. Also kann man bei einem Memo feld ein scrollbalken hin machen? Und wenn ja wie ?

2. Wie kann ich das machen das der den text aus edit1 nimmt und ganz unten im Feld edit feld einfügt ?

thx!

Titel geändert. Siehe Richtlinien. TINO
Steffer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 299



BeitragVerfasst: Do 12.09.02 15:42 
Zu 1:
Schau dir die Eigenschaften von TMemo an

Zu 2:
Schau dir mal
Memo.Lines. Add ..Append ... Insert an

_________________
Keine Signatur ...
deagle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 89



BeitragVerfasst: Do 12.09.02 16:05 
ThX hat geklappt!! Und wie ist es wenn ich nur den Inhalt von Memo drucken will welcher Code ist das ?
deagle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 89



BeitragVerfasst: Do 12.09.02 16:25 
Memo1.Lines.Insert(Inset.from.Edit1.Text);

so klappt das nicht!
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 12.09.02 19:47 
Hi!

Möchtest Du den Index des angehängten Textes wissen, dann nimmst Du
ausblenden Quelltext
1:
index:=memo1.lines.add(edit1.text);					


Interessiert Dich der Index nicht:
ausblenden Quelltext
1:
memo1.lines.append(edit1.text);					


MfG,
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Steffer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 299



BeitragVerfasst: Do 12.09.02 21:58 
Was klappt und was klappt nicht?

>Memo1.Lines.Insert(Inset.from.Edit1.Text);
Das ist Unsinn..., zumindest der Teil in der ()
Für den Rest gibt es eine Hilfe per F1

_________________
Keine Signatur ...