Autor Beitrag
Beatbox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Sa 10.12.05 12:32 
Moin,

Kann mir jemand von euch sagen wie ich ein Memofeld umdrehe?
Also wenn ich "Add" benutze, dass die neuen Zeilen oben und
nicht unten angehängt werden? Ist doch so voll nervig :-S

Danke Euch!


Moderiert von user profile iconChristian S.: Topic aus Sonstiges verschoben am Mi 14.12.2005 um 11:17
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Sa 10.12.05 12:43 
Hallo,

wie waere insert?
Memo1.Lines.Insert(0, 'huhu');

Gruss Horst
Beatbox Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Sa 10.12.05 14:10 
Hilft mir in diesem nicht weiter,
da ich neue Zeilen aus einem anderen Memo einfügen möchte.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 10.12.05 14:15 
user profile iconBeatbox hat folgendes geschrieben:
Hilft mir in diesem nicht weiter,
da ich neue Zeilen aus einem anderen Memo einfügen möchte.


Was hat das damit zu tun? :gruebel:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var i:integer;

for i := 0 to memo2.lines.count-1 do
begin
     memo1.lines.insert(0,memo2.lines[i]);
end;


Meinst du das so oder wie? Wenn nicht, dann werd mal konkret was du meinst :wink:

KOLLER

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Beatbox Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Sa 10.12.05 14:22 
Doch das sieht gut aus, ich teste das mal, danke schön.