TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetFlags8

Set additional flags or retrieve the values of the flags.

int TerSetFlags8(set, flags)
boolean set;TRUE to set the given flags, FALSE to reset the given flags
int flags;Flags (bits) to set or reset. Currently, the following flag values are available:
TFLAG8_AUTO_REFORMAT_TABLESAutomatically recalculate the width of the auto-width tables in the fitted-view mode
TFLAG8_DONT_SELECT_LAST_CHARDo not select the last character of the document on the select_all operation.
TFLAG8_HIDE_PAGE_BLANK_AREAFor short documents, disable the display of the non-text area by hiding the vertical scroll bar.
TFLAG8_MERGE_TABLES_ON_PASTEMerge the pasted table to the preceding table.
TFLAG8_INSERT_ROWS_ON_PASTEInsert the table rows on paste instead of overlaying it over the existing rows.
TFLAG8_DONT_SPELL_CHECK_HDR_FTRDo not spell-check header/footer text.

Return value: This function returns the new value of all the flags. Call this function with the 'flags' parameter set to zero to retrieve flag values without modifying it.