DhEdit.setMaxLength

Overview | Methods | This Package | All Packages

DhEdit.setMaxLength

Sets the current maximum input length of the edit control in characters.

Syntax

public void setMaxLength( int nMaxLength )

Parameters

nMaxLength

Maximum input length, in characters. This value can be up to Integer.MAX_VALUE.

Remarks

This value is independent of the current column width and applies only to password or single line edit boxes. Strings set from code can exceed this length; only user input is restricted.

See Also   getMaxLength