TRVTableItemInfo.SetRowVAlign, SetRowPageBreakBefore, SetRowKeepTogether

<< Click to display table of contents >>

TRVTableItemInfo.SetRowVAlign, SetRowPageBreakBefore, SetRowKeepTogether

Assigns Value to Rows[Row].VAlign (or PageBreakBefore, or KeepTogether), as an editing operation.

procedure SetRowVAlign(Value: TRVCellVAlign; Row: Integer);

procedure SetRowPageBreakBefore(Value: Boolean; Row: Integer);

procedure SetRowKeepTogether(Value: Boolean; Row: Integer);

(introduced in version 1.6 and 14)

Unlike direct assignments to a Rows[Row] property, these methods can be undone/redone, if they were called for a table inserted in TRichViewEdit (after insertion).

Use these methods in conjunction with the methods for updating an editor window, see the example.

See also:

Undo/redo in tables;

Undo/redo in TRichViewEdit.