Autor Beitrag
felix96
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34


VS 2010 Express
BeitragVerfasst: Do 22.07.10 11:20 
Halllo,
wie kann ich die mänge der neuen zeilen in einem RTF feststellen?
In Pascal ging es mit einer Listbox Listbox1.items.count;

Das heisst wenn ich in´s RTF
Hallo
Wie
Geht
Es
Dir

schreibe, dass dann in eine 5 in einen int geschriben wird.
Wenn ich aber
Moin,
wie gehts

schreibe eine 2
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4798
Erhaltene Danke: 1059

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Do 22.07.10 12:17 
Was meinst du mit RTF? RichTextBox?

Unter WinForms:
ausblenden C#-Quelltext
1:
richtextbox.Lines.Length;					


Du solltest aber lernen die MSDN zu benutzen, d.h. die Eigenschaften durchzuschauen: msdn.microsoft.com/e...tbox_properties.aspx

Für diesen Beitrag haben gedankt: felix96
felix96 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34


VS 2010 Express
BeitragVerfasst: Do 22.07.10 12:33 
Danke:-)