Autor Beitrag
mcondoi
Hält's aus hier
Beiträge: 15

Win XP
Delphi 2005
BeitragVerfasst: Mo 30.07.07 14:03 
Ich habe einen Button, Memofeld und ein Edit Feld erstellt. Nun möchte ich , dass wenn ich auf den Button klicke, mit der Funktion

Memo1.Text := 'INSTANCE <inhalt des edit feldes> (C_Info)';

ein text in das memofeld eingetragen wird, jedoch in der mitte der inhalt des edit feldes im memo eingetragen wird. wie mache ich das per code?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 30.07.07 14:04 
Moin und :welcome: im Forum!

Probier das mal so: ;)
ausblenden Delphi-Quelltext
1:
Memo1.Text := 'INSTANCE '+Edit1.Text+' (C_Info)';					

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
mcondoi Threadstarter
Hält's aus hier
Beiträge: 15

Win XP
Delphi 2005
BeitragVerfasst: Mo 30.07.07 14:23 
Danke!
Genau das habe ich gesucht! Ich wusste bloß den Syntax nicht. :wink: