GetMultiSelItem Method
Applies To
fpSpread control
Description
Returns which rows are selected when the sheet is in multiple-selection or extended-selection operation mode.
Syntax
long CSpreadSheet::GetMultiSelItem (long SelPrev);
fpSpread.GetMultiSelItem(ByVal SelPrev As Long) As Long
Parameters
The following parameter is available:
Parameter | Description |
---|---|
SelPrev | Previously selected row (The first time this method is called, this value must be 0.) |
Remarks
Use the SelectionCount property to determine how many rows have been selected.
You must call this method multiple times to retrieve the selected rows. The SelPrev parameter must be set to 0 the first time, then the return value is used in all subsequent calls. When the return value is –1, there are no more selected rows.
This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.
Return Type
Long
See Also
OperationMode, SelectionCount, SelModeSelected, Sheet properties
DLL Correspondence
SSSelModeSendMessage (SS_SELMODE_GETSELITEM, SS_SELMODE_GETSELITEMS) function