LineCount Property

         Example         Applies To        

Returns the number of text lines in a TextBox or ComboBox.

Syntax

object.LineCount

The LineCount property syntax has these parts:

Part Description
object Required. A valid object.

Remarks

The LineCount property is read-only.

Note A ComboBox will only have one line.