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)

ParameterDescription
iLineLine 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

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-