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

Glossary Item Box

SelectionCount Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Returns the number of blocks selected. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetSelectionCount();

Visual Basic

[form.]fpSpread.SelectionCount

Remarks

Users can select multiple, discontiguous blocks of cells in the sheet given the following:

Use this property to return the number of selected blocks of cells. After returning the number of selected blocks, you can use the GetSelection method to retrieve each block.

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.

Data Type

Long Integer

See Also

AllowMultiBlocks, OperationMode, Sheet properties

GetSelection method

DLL Correspondence

SSGetMultiSelBlocks function

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