Autor Beitrag
Roboman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 115

WinXP
Delphi 2005 Prof.; Delphi 6 Prof.; C++; C; Basic
BeitragVerfasst: Mi 21.06.06 14:28 
Servus Leute,
ich hab ein kleines Problem. Ich habe zwei Memofelder und einen Button dazwischen. Ich möchte im linken Memofeld eine Zeile auswählen. Das Memofeld enthält immer die gleichen Textzeilen. Ich möchte jetzt per Doppelklick eine Zeile auswählen und per Buttonklick ins andere Memofeld transferieren lassen. Sozusagen eine Auswahl treffen was ich so brauche. Könnt ihr mir da weiterhelfen? Wäre echt super.

Wünsche allen noch einen schönen Tag und vielen Dank im voraus.
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: Mi 21.06.06 14:49 
Hallo,

zum markieren der Zeile haben die Schweizer was für dich:
...bei Klick auf ein Memo eine Zeile markieren?

Die markierte Zeile ins andere Memo übertragen, dann
ausblenden Delphi-Quelltext
1:
Memo2.Lines.Add(Memo1.SelText);					

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

WinXP
Delphi 2005 Prof.; Delphi 6 Prof.; C++; C; Basic
BeitragVerfasst: Mi 21.06.06 15:31 
Servus Lannes,
vielen Dank für die Info, funktioniert super.

Ich wünsche noch einen schöne Woche und weiterhin viel Erfolg.