Autor Beitrag
Constan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 80

Win XP, Suse 10.1
Delphi 7
BeitragVerfasst: Do 24.03.05 18:12 
Hi habe ein Problem ich habe ein Memo feld das heist Memo1 das steht leider auch drinne aber wie kann ich das Memo Feld Leer machen ohne die Funktion zu beeinträchtigen, denn Memo1 ist ja der Name und nicht Caption. Versteht einer was ich meine?

Oder soll ich noch bilder von dem Problem reinhängen?


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am So 27.03.2005 um 22:09
Matze!
Hält's aus hier
Beiträge: 9



BeitragVerfasst: Do 24.03.05 18:16 
Das Memo enthält automatisch seinen Namen als Text.

Einfach

ausblenden Delphi-Quelltext
1:
Memo1.Clear;					


aufrufen, oder im Objekt-Inspektor auf die 3 Punkte bei Lines klicken und "Memo1" löschen.
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Do 24.03.05 18:18 
Du kannst über die Property "Lines" auf den Inhalt zugreifen.
Constan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 80

Win XP, Suse 10.1
Delphi 7
BeitragVerfasst: Do 24.03.05 19:41 
Mit Memo1.Clear; habe ich versucht da ändert er den text Memo1 erst wenn was passiert im Memo aber er soll ja Programm Startet und Memo leer dann erst Button1 das dann ein Text Laden tut in Memo1.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Do 24.03.05 19:43 
dann mach das clear im OnShow deiner Form

oder einen doppelklick auf memo1.lines im objektinspektor und dann das "memo1" rauschlöschen.

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Constan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 80

Win XP, Suse 10.1
Delphi 7
BeitragVerfasst: Do 24.03.05 19:55 
Zitat:
oder einen doppelklick auf memo1.lines im objektinspektor und dann das "memo1" rauschlöschen.


Danke das hat geklapt.