Home > Language Reference > Classes > Field
FirstLine Property
Index of the first line displayed.
Syntax
Public Property Get FirstLine() As Integer
Public Property Let FirstLine(ByVal iLine As Integer)
| Parameter | Description |
| iLine | Line number. |
Remarks
The FirstLine property defines the index of the first line displayed in a field, taking into account the carriage returns and word-wrapping. If the SingleLine property of a field is set to True, this property is always zero.
If you set a value less than zero to this property, the first lines of the text are displayed. If you set it to a value greater than the value returned by the LineCount property, the last lines of the text are displayed. If a scrollbar is attached to the field using the Scrollbar property, it is also updated with the field itself.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | - |
| Windows CE | Windows CE 3.0 | - |