TE Edit Control Java / HTML-JavaScript Help
Product page

TerInsertCheckBoxField

Insert a checkbox field at the cursor position.

int TerInsertCheckBoxField( name, twipsize, checked, repaint)
String name;field name
int twipsize;The width of the checkbox specified in Twips unit.
boolean checked;Set to true to create the checkbox initially checked.
boolean Insert;Set to true to insert the checkbox. Set to false to create a check-box object, but do not insert it in the text.
boolean repaint;Repaint the window after this operation

Description: This function inserts a checkbox.

Return Value: This function returns the picture id of the field. It returns 0 to indicate an error condition.