VirtualClearData Event
Applies To
fpSpread control
Description
Occurs when the sheet is in virtual mode and data in the virtual buffer needs to be discarded.
Syntax
C++
afx_msg void OnVirtualClearDatafpSpread(UINT, int, CWnd*, LPVOID);
Visual Basic
Sub fpSpread_VirtualClearData(ByVal Row As Long, ByVal RowsBeingCleared As Long)
Parameters
The following parameters are available:
Parameter | Description |
Row | Row number of top or first row to discard |
RowsBeingCleared | Number of rows to discard |
Remarks
The VirtualClearData event occurs before the data in the virtual buffer is cleared, giving the application an opportunity to process the data before it is discarded.
Use the SheetSendingEvent property if you want to return the sheet for which this event occured.
See Also
SheetSendingEvent, VirtualMode, VirtualRows, VScrollSpecial, VScrollSpecialType properties
QueryData event