Spread 8.0 Documentation
SelBlockCol2 Property
Support Options
ActiveX Reference > ActiveX Properties > SelBlockCol2 Property

Glossary Item Box

SelBlockCol2 Property


See Also    DLL    Example

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

C++

long CSpreadSheet::GetSelBlockCol2( );

Visual Basic

[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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.