Home Cooker Classes Others Rice CookerGX
Classes  >  textbox  >  MaxLength(int)
textbox class : MaxLength(int) setter

Description

Sets the maximum number of input characters of this textbox.

Syntax

textboxInstance.MaxLength = numberOfCharacters

Arguments

ClassNameDescription
intnumberOfCharactersThe maximum number of input characters of this textbox.

Return value

None

Sample code

// anyTextbox is an instance of textbox class.

anyTextbox.MaxLength = 5;

Notes

None

Links for reference

Copyright © Rice All rights reserved.