wLimit Property (Edit Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023

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 in Desktop Windows Applications.

See Also

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

Highlight search results