Spread 8.0 Documentation
SSDeleteSheets Function
Support Options
DLL Reference > DLL Functions > SSDeleteSheets Function

Glossary Item Box

SSDeleteSheets Function


See Also    ActiveX    Example

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

Deleting Sheets

SSGetSheetCount, SSInsertSheets, SSMoveSheets, SSResetSheet functions

ActiveX Correspondence

DeleteSheets method

Copyright © GrapeCity, inc. All rights reserved.