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



BeitragVerfasst: Mo 20.06.05 20:53 
eine frage habe ich noch....

Wenn ich ein edit-feld platziere,dann steht automatisch 'edit1' in dem Feld als Text.
Um das zu löschen,klicke ich im Objektinspektor in 'text' und lösche den vorgegeben Text 'Edit1'.

Wie funktioniert das bei Memofeldern?
Da gibt es im Objektoinspektor keine Rubrik 'Text' oder ähnliches.

Ich will also den Inhalt von der Memo löschen.


Siehe Anhang ;)


Moderiert von user profile iconChristian S.: Topic aus Programmierwerkzeuge verschoben am Mo 20.06.2005 um 21:59
Einloggen, um Attachments anzusehen!
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mo 20.06.05 20:59 
Bei einem Memo verwendest Du "Lines". :-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Mo 20.06.05 21:00 
hi,
schau dir mal die EIgenschaft Lines an (Doppelklick)

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Mo 20.06.05 21:16 
deutlich besser:
TMemo.Clear;

warum hat das noch keiner gebracht? :)

_________________
[inspirationslos]
Kroni
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 720

Win 98, Win ME, Win2k, Win XP
D3 Pro
BeitragVerfasst: Mo 20.06.05 21:22 
Vlt. hat das noch niemand gebracht, da der GothicSoldier noch im Designmodus den Inhalt des Memos löschen will....das geht schlecht mit Memo1.clear;
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Mo 20.06.05 21:44 
ah so! :)
hab gar net gewusst, das man da auf lines zugriff hat. jetzt bin ich wieder um eine erfahrung reicher.

_________________
[inspirationslos]