TerGetTextFieldInfo
Retrieve the information for a textbox input field.
boolean TerGetTextFieldInfo( id)
int id; | Input field id to retrieve information. |
Upon a successful return from this method, the following information can be retrieved by using TerGetOutStr and related methods:
String data; | The current text data in the text box. Upon a successful return from this method, this value can be retrieve as following: data=tej.TerGetOutStr("Data") |
int MaxChars; | The current maximum text length for the text box. Upon a successful return from this method, this value can be retrieve as following: MaxChars=tej.TerGetOutInt("MaxChars") |
int width; | The text box width in twips. Upon a successful return from this method, this value can be retrieve as following: width=tej.TerGetOutInt("Width") |
String typeface; | The font typeface for the text in the text box. Upon a successful return from this method, this value can be retrieve as following: typeface=tej.TerGetOutStr("Typeface") |
int TwipsSize; | The font typeface size in twips (20 twips = 1 point). Upon a successful return from this method, this value can be retrieve as following: TwipsSize=tej.TerGetOutInt("TwipsSize") |
int style; | The style information for the font: |
| BOLD | Bold style |
| ITALIC | Italic style |
| ULINE | Underline style |
Upon a successful return from this method, this value can be retrieve as following:
style=tej.TerGetOutInt("Style")Return Value: This function returns true when successful.