Skip to main content

TdxSpreadSheetCustomView.InvalidateRect(TRect) Method

Invalidates a specified portion within the Spreadsheet control‘s View area.

Declaration

procedure InvalidateRect(const R: TRect); virtual;

Parameters

Name Type
R TRect

Remarks

Call this procedure in order to repaint a rectangular area, passed as the R parameter, within the current worksheet. There is no performance penalty for calling the InvalidateRect procedure multiple times before the Spreadsheet control is actually repainted.

Note

To force repainting of the entire Spreadsheet control’s View area, invoke the Invalidate procedure.

See Also