Type | Description | |||
Index as Long | A long expression that defines the index of line being accessed. The Index is 1 based | |||
String | A string expression that defines the line's text ( no HTML included ) |
The following VB sample prints the line in the control:
With CalcEdit1 Dim i As Long For i = 1 To .Count Debug.Print .TextLine(i) Next End With
The following C++ sample prints the line in the control:
for ( long i = 1; i <= m_edit.GetCount(); i++ ) OutputDebugString( m_edit.GetTextLine( i ) );
The following VB.NET sample prints the line in the control:
With AxCalcEdit1 Dim i As Integer For i = 1 To .Count Debug.WriteLine(.get_TextLine(i)) Next End With
The following C# sample prints the line in the control:
for (int i = 1; i <= axCalcEdit1.Count; i++) System.Diagnostics.Debug.WriteLine(axCalcEdit1.get_TextLine(i));
The following VFP sample prints the line in the control:
with thisform.CalcEdit1.Object local i for i = 1 to .Count wait window nowait .TextLine(i) next endwith