<< Click to display table of contents >> TCustomRichViewEdit.OnItemResize |
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 tables: (0, row index) after resizing row, or (1, column index) after resizing columns;
▪for controls: (old control width, old control height);
▪for other resizable items (pictures, shapes in Report Workshop): (old value of rvepImageWidth property, old value of rvepImageHeight property).