TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetFlags5

Set additional flags or retrieve the values of the flags.

int TerSetFlags5( 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:
TFLAG5_NO_EXT_DROP:Disable text drop from other applications. This flag must be set before creating a control.
TFLAG5_GROUP_UNDOGroup the operations into one undo.
TFLAG5_NO_EXACT_ROW_HEIGHTTranslate 'Exact' row height to 'Minimum' row height during RTF input.
TFLAG5_NO_KB_SELDisable text selection using keyboard.
TFLAG5_RTL_CURSORReverse the direction of the left/right cursor keys for the RTL text.
TFLAG5_WRITE_DOBGenerates the older "do" drawing object construct during RTF output.
TFLAG5_NO_OBJ_IN_STATUS_LINEIgnore the embedded objects while display the status line number.
TFLAG5_NO_CLEAR_SPL_HISTDo not clear the spell-checker word history.
TFLAG5_NO_NORMALIZE_FNOTEDo not modified text selection to fully include footnote text and footnote marker.
TFLAG5_INPUT_TO_UNICODEConvert keyboard input or rtf input for a foreign language to unicode.
TFLAG5_NO_NORMALIZE_FIELDDo not modified text selection to fully include data field text in field enclosure tags in the rtf output.
TFLAG5_BEF_AND_AFT_HIDDENAllow the caret to stop both before and after the hidden text.
TFLAG5_FULL_REPAGINATEFully repaginate the document during file read irrespective of the size of the document.
TFLAG5_NO_SHOW_SPACE_SYMDo not show the space symbol.
TFLAG5_OLD_HLINKAllow the old hyperlink mode supporting the HLINK style and hidden/double-underline text.
TFLAG5_NO_DRAG_ROW_LINE Do not show drag cursor to drag the row line.
TFLAG5_VARIABLE_PAGE_SIZE

Automatically adjust the page size to contain the entire content of the window. When this flag is set, TE fires the PageSizeChanging event (or TER_PAGE_SIZE_CHANGING message) to allow the user to override or modify the suggested page size.

This flag is effective only in the Page Mode.

TFLAG5_NO_DRAG_CELL_LINE Do not show drag cursor to drag the cell divider line and row indentation.
TFLAG5_PRINT_PREVIEW_DLGUse the .NET standard print-preview dialog instead of the built-in preview display.
TFLAG5_RULER_INDENT_FIXEDWhen apply indentation using the ruler to set of selected lines, set all lines to same indentation.
TFLAG5_TOP_ROW_TOOLBARDisplay only the top row of the toolbar. The TerRecreateToolbar function must be called after setting this flag to re-display the toolbar.
TFLAG5_NO_ADJ_FOR_TABLEDo not adjust the text selection within table.
TFLAG5_NO_SHAREDo not share font resources between the instances of the editor.
TFLAG5_FRAME_TEXT_ONLYDo not write the frame structure while saving selected frame text to a buffer.
TFLAG5_PROTECT_DATA_FIELDMake al data field read-only.