TE Edit Control Java / HTML-JavaScript Help
Product page

TerInsertUserField

Insert a dynamic user field at the current cursor position.

int TerInsertUserField( repaint)
boolean repaint;Repaint the window after this operation

Description: This function inserts a dynamic user field. The editor fires an event called SetUserField when it encounters a user-field in the document as the page is being rendered. Your application can specify the content of the user field by using the TerSetUserField function within this event.

The text length of the user field should not exceed one text line. When the user-field is placed in a header/footer area, the text length of the field should not change from one call to another.

Return Value: This function returns true when successful.