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

Glossary Item Box

TypeComboBoxClear Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Removes all list items from a combo box cell.

Syntax

C++

void CSpreadSheet::TypeComboBoxClear(long lCol, long lRow);

Visual Basic

fpSpread1.TypeComboBoxClear(ByVal lCol As Long, ByVal lRow As Long)

Parameters

The following parameters are available:

Parameter Description
Col Column number of the combo box cell
Row Row number of the combo box cell

Remarks

The TypeComboBoxClear 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 TypeComboBoxRemoveItem method to remove a single list item from a combo box cell.

Return Type

None

See Also

CellType, Sheet properties

TypeComboBoxRemoveItem method

DLL Correspondence

SSComboBoxSendMessage function

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