|Top Previous Next|
Inserts break (horizontal line) in the position of caret.
function InsertBreak(Width: Byte; Style: TRVBreakStyle; Color: TColor): Boolean;
Width – width of line (can be in range from 1 to 10);
Style – break type;
Color – color of line. If it is equal to clNone, the break has the color of the 0th text style.
Method type: editing-style method for insertion.
True if the insertion was successful (it can fail due to protection, or when inserting in table having multicell selection)
See also methods of TCustomRichView:
TRichView © trichview.com