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

Glossary Item Box

SelModeIndex Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the number of the selected row when the sheet is in single-selection operation mode. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetSelModeIndex( );
void CSpreadSheet::SetSelModeIndex(long value);

Visual Basic

[form.]fpSpread.SelModeIndex[ = value&]

Remarks

The value set or returned by the SelModeIndex property is a valid row number.

The default value for the SelModeIndex property is 1.

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.

Specify the operation mode for the sheet using the OperationMode property.

Data Type

Long Integer

See Also

OperationMode, SelectionCount, SelModeSelected, Sheet properties

DLL Correspondence

SSSelModeSendMessage (SS_SELMODE_GETCURSEL, SS_SELMODE_SETCURSEL) function

Copyright © GrapeCity, inc. All rights reserved.