SelModeIndex Property
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
long CSpreadSheet::GetSelModeIndex( );
void CSpreadSheet::SetSelModeIndex(long value);
[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