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

Glossary Item Box

SelModeSelected Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the selection state of a row when the sheet is in extended- or multiple-selection operation mode. This property is available at run time only.

Syntax

C++

BOOL CSpreadSheet::GetSelModeSelected( );
void CSpreadSheet::SetSelModeSelected(BOOL value);

Visual Basic

[form.]fpSpread.SelModeSelected[ = boolean%]

Remarks

Set the SelModeSelected property to True to select the row designated by the Row property.

This setting is applied to the current sheet setting unless you first set the Sheet property to specify the sheet for which you are setting the property. Set the Row property before using the SelModeSelected property.

Use the SelectionCount property to return the number of selected rows when the sheet is in extended- or multiple-selection operation mode.

Use the SelModeIndex property to specify the row to select when working in single-selection mode.

Data Type

Integer (Boolean)

See Also

OperationMode, Row, SelModeIndex, SelectionCount, Sheet properties

DLL Correspondence

SSSelModeSendMessage (SS_SELMODE_GETSEL, SS_SELMODE_SETSEL) function

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