SelBlockCol2 Property
Applies To
fpSpread control
Description
Returns the column number of the right column of a selected block of cells. This property is available at run time only.
Syntax
long CSpreadSheet::GetSelBlockCol2( );
[form.]fpSpread.SelBlockCol2
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 SelBlockCol, SelBlockRow, and SelBlockRow2 properties to return the column number of the left column and the row numbers of the top and bottom rows of a selected block of cells.
Data Type
Long Integer
See Also
IsBlockSelected, SelBlockCol, SelBlockRow, SelBlockRow2, Sheet properties
BlockSelected event
GetSelection, SetSelection methods
DLL Correspondence
SSGetActiveCell, SSGetSelectBlock functions