SelModeSelected Property
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
BOOL CSpreadSheet::GetSelModeSelected( );
void CSpreadSheet::SetSelModeSelected(BOOL value);
[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