VisibleLineCount Property

Applies to TestComplete 14.61, last modified on April 22, 2021

Specifies the number of lines in a multi-line component.

Declaration

componentPropObj.VisibleLineCount
Read-Write Property Integer
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxMemoProperties

Description

Use the VisibleLineCount property to specify how many lines the component should display. In VisibleLineCount is greater than zero, the component’s height is changed so it displays the specified number of lines.

Property Value

An integer number which means the number of lines displayed by the component. The default value is 0, which means that the component’s height is set by the Height property.

Remarks

If VisibleLineCount is greater than 0, you cannot change the component’s height via the Height property.

See Also

Height Property
MaxLength Property

Highlight search results