TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetPflags

Set additional paragraph flags

boolean TerSetPflags( flags, OnOff, repaint)
int flags:

Select paragraph flags:

PFLAG_NO_WRAP: Disable word wrapping

PFLAG_WIDOW: Set Widow/Orphan control

To specify more than one styles, use the 'logical OR' (|) operator.

boolean OnOff;true to set the flags, false to reset the selected flags.
boolean repaint;true to refresh the window after this operation

Return Value: This function returns true if successful.