Autor Beitrag
-delphin-
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 200



BeitragVerfasst: Mi 07.09.05 13:30 
Servus, ich würde mir gerne die Zeilen im Memo zählen lassen und in der Variable lines speichern.
mit lines:=MAusgabe.ComponentCount; gehts aber leider nicht.
´Thx 4 help :D
en!gma
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 378

win xp
delphi 7.0
BeitragVerfasst: Mi 07.09.05 13:33 
variable:=memo1.lines?
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 07.09.05 13:33 
ausblenden Delphi-Quelltext
1:
lines := Memo1.lines.count;					

Allerdings würde ich nicht als Variablennamen lines nehmen, da kann man leicht mit der Lines-Eigenschaft von Memo durcheinanderkommen. Und das ist ja vom Typ TStrings, und nicht integer.

_________________
We are, we were and will not be.