Home Cooker Classes Others Rice CookerGX
Classes  >  textbox  >  Size
textbox class : Size getter

Description

Gets the width of the textbox.

Syntax

textboxInstance.Size

Arguments

None

Return value

ClassDescription
intThe width of the textbox.

Sample code

// anyTextbox is an instance of textbox class.

int numberOfCharacters= anyTextbox.Size;

Notes

It is the width specified in number of characters.

If there is no size attribute, 20 is returned. It is the default value.

Links for reference

Copyright © Rice All rights reserved.