TerInsertControl
Insert another control inside the TEJ control.
int TerInsertControl( ctl, ClassName, align, id, insert)
Control ctl; | Control to be embedded. |
String ClassName; | The class name for the control. |
int align; | control alignment relative to the baseline of the text: ALIGN_BOT (default), ALIGN_TOP, ALIGN_MIDDLE. |
int id; | control id. Specify a unique id with a value above 2000. |
boolean insert; | true to insert the control into text. false to simply return the object id without inserting the control into text. |
Description: This function inserts a control of the specifiedclass into the current text position.
When the 'insert' argument is true, the object is inserted at the current cursor location.
Return Value: This function returns a non-zero object id, if successful. Otherwise it returns zero.