TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetTextFieldInfo

Set new information for a textbox input field.

boolean TerSetTextFieldInfo(id, data, MaxChars, width, typeface, TwipsSize, style)
int id;Input field id to retrieve information.
String data;The new text data for the text box.
int MaxChars;The maximum text length for the text box. Set to 0 for no maximum limit.
int width;The text box width in twips.
String typeface;The font typeface for the text in the text box.
int TwipsSize;The font typeface size in twips (20 twips = 1 point).
int style;

The style information for the font. Set to 0 for default. The following styles can be selected for the text box.

BOLD    Bold style
ITALIC  Italic style
ULINE   Underline style

Please use the logical OR operator to specify more than one flag.

Return Value: This function returns true when successful.