SSDeleteSheets Function
Applies To
fpSpread DLL control
Description
Deletes the specified sheet or sheets.
Syntax
C
BOOL SSDeleteSheets(HWND hWnd, short nSheetIndex, short nSheetCnt);
C++
BOOL TSpread::DeleteSheets(short nSheetIndex, short nSheetCnt);
Parameters
The following parameters are available:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
nSheetIndex | Sheet index of first sheet to delete |
nSheetCnt | Number of sheets to delete |
Remarks
Deleting sheets changes the number of sheets in the control, as reflected by the SSGetSheetCount function.
If SSSetSheetCount is one and SSDeleteSheets is used then the sheet will be deleted and a new sheet will be added.
Return Value
TRUE if the function completes successfully; FALSE otherwise.
See Also
SSGetSheetCount, SSInsertSheets, SSMoveSheets, SSResetSheet functions
ActiveX Correspondence
DeleteSheets method