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:
Developer Express PasswordBoxEdit, MFC Edit Browse, Qt LineEdit and 3 more objects, Win32 Edit, WPF PasswordBox, WPF TextBox « Collapse the list
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)