Spread 8.0 Documentation
DeleteCols Method
Support Options
ActiveX Reference > ActiveX Methods > DeleteCols Method

Glossary Item Box

DeleteCols Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Deletes the specified column or columns.

Syntax

C++

void CSpreadSheet::DeleteCols(long lCol, long lNumCols);

Visual Basic

fpSpread1.DeleteCols(ByVal lCol As Long, ByVal lNumCols As Long)

Parameters

The following parameters are available:

Parameter Description
lCol Column number of first column to delete
lNumCols Number of columns to delete

Remarks

Deleting columns does not decrease the number of columns set by the MaxCols property. When you call the DeleteCols method to delete a column, a blank column is automatically added at the end of the sheet.

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

None

See Also

MaxCols, Sheet properties

DeleteRows method

DLL Correspondence

SSDelCol function

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.