BlockSelected Event
Applies To
fpSpread control
Description
Occurs when the user completes the selection of a block of cells.
Syntax
C++
afx_msg void OnBlockSelectedfpSpread(UINT, int, CWnd*, LPVOID);
Visual Basic
Sub fpSpread_BlockSelected(ByVal BlockCol As Long, ByVal BlockRow As Long, ByVal BlockCol2 As Long, ByVal BlockRow2 As Long)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
BlockCol | Column number of cell in upper-left corner of selected block |
BlockRow | Row number of cell in upper-left corner of selected block |
BlockCol2 | Column number of cell in lower-right corner of selected block |
BlockRow2 | Row number of cell in lower-right corner of selected block |
Remarks
Use the SheetSendingEvent property if you want to return the sheet for which this event occured.
See Also
IsBlockSelected, SelBlockCol, SelBlockCol2, SelBlockRow, SelBlockRow2, SelectBlockOptions, SheetSendingEvent properties
SelChange event