Link Search Menu Expand Document

SSpread.IsBlockSelected Property

Refers to whether the cell block is selected.

Returns $TRUE if the cell block is selected, $FALSE otherwise.

This property is read-only. The initial value is $FALSE.

The position of the selected cell block can be obtained with the SelBlockCol, SelBlockRow, SelBlockCol2, and SelBlockRow2 properties.

Example of usage

Function OnBlockSelected(e) {
    if (IsBlockSelected == $TRUE) {
        print(SelBlockCol, SelBlockRow, SelBlockCol2, SelBlockRow2, "\n");
    }
}

Related Items
SelBlockCol, SelBlockCol2, SelBlockRow, SelBlockRow2 properties