TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetComboboxInfo

Retrieve the information for a combo-box input field.

int TerGetComboboxInfo( id)
int id;Id of the combo-box field to retrieve information.

Upon a successful return from this method, the following information can be retrieved by using TerGetOutStr method:

String items;

String containing the combo-box items. Each item in the list is delimited by a '|' character.

Upon a successful return from this method, this value can be retrieve as following:

items=tej.TerGetOutStr("Items") 

Return Value: This function returns a zero based index of the selected item when successful. A value of -1 indicates an error condition.