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

Description

Sets the width of the textarea.

Syntax

textboxInstance.Size = numberOfCharacters

Arguments

ClassNameDescription
intnumberOfCharactersThe width of the textarea.

Return value

None

Sample code

// anyTextbox is an instance of textbox class.

anyTextbox.Size = 5;

Notes

It is the width specified in number of characters.

An exception will be raised if a value less than or equal to 0 is assigned.

Links for reference

Copyright © Rice All rights reserved.