SSpread.BlockSelected Event
Occurs when the cell block has been selected.
The following child objects are attached to the Event object.
| Type | Name | Description |
|---|---|---|
| Number | BlockCol | Leftmost column number of cell block |
| Number | BlockRow | Row number at the top of the cell block |
| Number | BlockCol2 | Rightmost column number of cell block |
| Number | BlockRow2 | Row number at the bottom of the cell block |
The SelChange event is fired during the cell block selection operation.
Example of usage
Function OnBlockSelected(e) {
BlockMode = $TRUE;
Col = e.BlockCol;
Row = e.BlockRow;
Col2 = e.BlockCol2;
Row2 = e.BlockRow2;
BackColor = $RED;
BlockMode = $FALSE;
}
Relatd Item
IsBlockSelected, SelBlockCol, SelBlockCol2,
, SelBlockRow, SelBlockRow2, SelectBlockOptions property
SelChange event