Autor Beitrag
popi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: So 11.06.06 16:37 
Hallo zusammen,

kann man bei einem Memofeld eine beliebige Anzahl an leeren Zeilen einfügen?

Danke und Grüße

popi
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 11.06.06 16:47 
memo.Lines.add(''); fügt eine neue Leere Zeiel hinzu.

_________________
Markus Kinzler.
popi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: So 11.06.06 16:51 
Hi,

ich habe es mit

for j := 0 to 10 do Memo2.Lines.Add('');

realisiert.

Aber ich dachte eher an eine elegantere Methode wie Memo.Lines.Add(10x) ;o) oder sowas ähnliches, also ohne doofe Schleifen

Aber schein wohl, Delphi verfügt nicht über sowas, wenn ihr auch nichts kennt.

Vielen Dank und liebe Grüße

popi