rvico TRichView Reference | TRichViewEdit

TRichViewEdit.OnItemResize

Top  Previous  Next

Occurs after resizing image, control or table with the mouse.

type

  TRVItemResizeEvent = procedure(Sender: TCustomRichViewEdit; 

    RVData: TCustomRVFormattedData; ItemNo, Val1, Val2: Integer) of object

property OnItemResize: TRVItemResizeEvent;

(introduced in version 10)

Parameters:

RVData and ItemNo identify the resized item. RVData document containing this item; it can be Sender.RVData, table cell, or RVData of cell inplace-editor. ItemNo index of this item inside RVData.

(Val1, Val2) are:

for images and controls: (-1, -1).

for tables: (0, row index) after resizing row, or (1, column index) after resizing columns.

 


TRichView © trichview.com