TypeComboBoxRemoveItem Method
Applies To
fpSpread control
Description
Removes a list item from a combo box cell.
Syntax
void CSpreadSheet::TypeComboBoxRemoveItem(long lCol, long lRow, short nIndex);
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