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

TerSetFlags3

Set additional flags or retrieve the values of the flags.

int TerSetFlags3( 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:
TFLAG3_WRAP_SPACES:Wrap additional spaces at the end of the line to the next line.
TFLAG3_NO_EDIT_TABLE_COL:Disable the editing of table column width and indentation using the mouse.
TFLAG3_TABLE_STATUS_LINE:Consider the table rows as lines for the status line display.
TFLAG3_PLAIN_TABLE_BORDER:Display one line table border in HTML mode.
TFLAG3_GRAY_READ_ONLY:Display the text in gray color in the read-only mode. To affect the color change during run-time, you also need to call the TerRepaint function after setting the read-only mode using the TerSetReadOnly function.
TFLAG3_CURSOR_IN_CELL:Restrict the cursor to the current cell.
TFLAG3_NO_SCROLL:Do not scroll down from the top of the document. This flag is effective only in the PageMode and only if the document does not contain framed text.
TFLAG3_NO_FULL_CELL_COPY:Do not select the cell marker for cut/copy operations when the selection includes only one table cell.
TFLAG3_HTML_CONT_TABLE:For HTML output, always treat two contiguous table rows as part of one table.
TFLAG3_SELECT_FIRST_FIELD: Position at the first form-field in the document. This flag should be set before a file is read into the control.
TFLAG3_MULTIPLE_RTF_GROUPS:Support consecutive 'rtf' groups in the RTF file.
TFLAG3_OLD_WORD_FORMAT:Write RTF syntax for previous versions of MS Word.
TFLAG3_DATA_FIELD_INPUT: Data field input mode. Protects the field name from replacement during text input to the data field.
TFLAG3_GET_BUF_HDR_FTR:Retrieve the rtf header/footer when inserting within an existing document and when the existing document does not already have header/footer. Normally, the header/footer from the document being copied into another document is always ignored.
TFLAG3_NO_RTF_BKND_COLOR: Do not read or write the document background color in the RTF file.
TFLAG3_NO_SAVE_UNDO:Do not collect undo information.
TFLAG3_LARGE_PARA_BORDER: Include the paragraph before and after spaces within the paragraph borders.
TFLAG3_LINE_SCROLLScroll up or down one line at a time when the up or down arrow is pressed.
TFLAG3_STYLES_ON_TOOLBARThis flags creates a style item selection combobox in the toolbar (default). To remove the this combobox, turn-off this flag BEFORE the control is created.
TFLAG3_PRINT_BKND_PICTPrint any background picture when printing the document.
TFLAG3_CLIP_CELL_OVERFLOWDo not print text lines which do not fit inside a fixed height table cell.
TFLAG3_EXACT_SCREEN_FONTIn page mode, create the exact screen font without matching it to the printer font.
TFLAG3_ZERO_CELL_HEIGHTDo not display empty table rows.
TFLAG3_READ_PNGRead PNG images from the RTF file.
TFLAG3_NO_TEXT_COLOR_ADJDo not adjust text color to contrast against the background color.
TFLAG3_NO_MOUSE_SELDisable text selection using mouse.