Autor Beitrag
lexmy3
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Di 27.09.05 15:57 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
// Automatischer Zeilenumbruch ein/aus
procedure TForm1.CheckBox1Click(Sender: TObject);
begin
  Memo1.WordWrap := CheckBox1.Checked;
end;

(Der automatische Zeilenumbruch im Memofeld wird durch dessen Boolean-Eigenschaft WordWrap geregelt
Diese muss also immer auf ihren jeweils gegenteiligen Wert gesetzt werden.)
Was bedeutet diese Aussage??

Moderiert von user profile iconGausi: Delphi-Tags hinzugefügt.
Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Di 27.09.2005 um 16:21
LH_Freak
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: Di 27.09.05 16:05 
das heißt wenn du auf die Checkbox geklickt hast und da ein X drinnen ist ;) ist autom. Zeilenumbruch aktiviert,
ansonsten net
lexmy3 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 140

WIN 2000 Prof. + Office 2000
Delphi 5 Enterprise
BeitragVerfasst: Di 27.09.05 16:08 
Titel: Aha Danke
user profile iconLH_Freak hat folgendes geschrieben:
das heißt wenn du auf die Checkbox geklickt hast und da ein X drinnen ist ;) ist autom. Zeilenumbruch aktiviert,
ansonsten net


Hey, soweit war ich. Nur es pasiert nichts bleibt alles wie vorher!!!!!!!!!!!
LH_Freak
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: Di 27.09.05 16:11 
Titel: Re: Aha Danke
user profile iconlexmy3 hat folgendes geschrieben:
user profile iconLH_Freak hat folgendes geschrieben:
das heißt wenn du auf die Checkbox geklickt hast und da ein X drinnen ist ;) ist autom. Zeilenumbruch aktiviert,
ansonsten net


Hey, soweit war ich. Nur es pasiert nichts bleibt alles wie vorher!!!!!!!!!!!


Sorry, war bei deiner Aussage oben leider net zu erkennen.

EDIT:
Wundert mich aber. Bei mir geht's nämlich
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: Fr 30.09.05 14:57 
Hallo,

Stell im OI Memo1.WordWrap auf False und CheckBox1.Checked auf True (oder umgekehrt), dann funktioniert es.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )