wLimit Property (Edit Controls)

Applies to TestComplete 14.91, last modified on July 20, 2021

Description

Use the wLimit property to know the maximum text length that can be entered into the edit control.

Declaration

TestObj.wLimit

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The maximum number of characters for the current control.

Example

To view an example that demonstrates how to use the wLimit property, see Determining Maximum Text Length in an Edit Control.

See Also

Determining Maximum Text Length in an Edit Control
wText Property (Edit Controls)

Highlight search results