TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetFlags7

Set additional flags or retrieve the values of the flags.

int TerSetFlags7(set, flags)
bool 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:
TFLAG7_NO_RTL_FONTDo not use right-to-left fonts.
TFLAG7_AUTO_NEW_ROWCreate a new row if the tab key is hit at the last column of the last row of a table. This flag is turned on by default.
TFLAG7_NO_TRACK_CHANGE_LINEDo not draw track-change indicator line.
TFLAG7_SHOW_SPACES_AT_PARA_ENDShow ending spaces before the end of the paragraph.
TFLAG7_SHRINK_PICT_TO_PAGEShrink to size the picture to fit within a page, column, or a table cell.
TFLAG7_DISABLE_RULERDisable ruler.
TFLAG7_ALWAYS_FIRE_MODIFYAlways fire the modified event. By default, the editor fires the modified event only for the first modification.
TFLAG7_WRITE_LISTTEXTGenerate listtext tag on RTF output so Crystal Report can show bullets.
TFLAG7_SET_BOX_CLIPPINGDraw the table cell and frame text within its boundaries.
TFLAG7_NO_SPELLCHECK_FIELDSDo not spell-check the field text.
TFLAG7_NO_INTERNETDisable Internet access.
TFLAG7_NO_TABLE_AUTO_WIDTHDisable automatic table column width adjustment.
TFLAG7_DONT_LOAD_CONTROLSDon't read controls (originally inserted by the TerInsertControl method) while reading the rtf file.

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.