SelBlockCol Property
Applies To
fpSpread control
Description
Returns the column number of the left column of a selected block of cells. This property is available at run time only.
Syntax
long CSpreadSheet::GetSelBlockCol( );
[form.]fpSpread.SelBlockCol
Remarks
A return value of –1 designates that an entire row is selected.
This setting is returned for the current sheet setting unless you first set the Sheet property to specify the sheet for which you are returning the property.
Use the SelBlockCol2, SelBlockRow, and SelBlockRow2 properties to return the column number of the right column and the row numbers of the top and bottom rows of a selected block of cells.
Data Type
Long Integer
See Also
IsBlockSelected, SelBlockCol2, SelBlockRow, SelBlockRow2, Sheet properties
BlockSelected event
GetSelection, SetSelection methods
DLL Correspondence
SSGetActiveCell, SSGetSelectBlock functions