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

Glossary Item Box

TypeComboBoxRemoveItem Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Removes a list item from a combo box cell.

Syntax

C++

void CSpreadSheet::TypeComboBoxRemoveItem(long lCol, long lRow, short nIndex);

Visual Basic

fpSpread1.TypeComboBoxRemoveItem(ByVal lCol As Long, ByVal lRow As Long, ByVal nIndex As Integer)

Parameters

The following parameters are available:

Parameter Description
lCol Column number of the combo box cell
lRow Row number of the combo box cell
nIndex List item to remove

Remarks

The TypeComboBoxRemoveItem method does not have an effect unless the CellType property is set to 8 (Combo Box) for the specified cell.

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.

Use the TypeComboBoxClear method to remove all list items from a combo box cell.

Return Type

None

See Also

CellType, Sheet, TypeComboBoxCount, TypeComboBoxIndex properties

TypeComboBoxClear method

DLL Correspondence

SSComboBoxSendMessage function

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