Edit.getMaxLength

Overview | Methods | This Package | All Packages

Edit.getMaxLength

Retrieves the maximum length, in bytes, of the text the user can type into the edit control.

Syntax

public final int getMaxLength()

Return Value

Returns the maximum length, in bytes, of text that the user can type into the edit control. Returns zero (0) if the maximum capacity of the edit control is limited only to available memory.

See Also   setMaxLength