TypeComboBoxIndex Property
Applies To
fpSpread control
Description
Sets or returns the combo box item on which to perform an operation. This property is available at run time only.
Syntax
short CSpreadSheet::GetTypeComboBoxIndex( );
void CSpreadSheet::SetTypeComboBoxIndex(short value);
[form.]fpSpread.TypeComboBoxIndex[ = value%]
Remarks
The default value for the TypeComboBoxIndex property is 0.
Set the TypeComboBoxIndex property before using the TypeComboBoxString property.
When you insert a new string, set the TypeComboBoxIndex property to –1 to add the string to the end of the list.
To use the TypeComboBoxIndex property, specify the sheet with which you want to work by setting the Sheet property. Then specify the cell or cells to which to apply the property, as described in Using Column and Row Properties.
The TypeComboBoxIndex property does not have an effect unless the CellType property is set to 8 (Combo Box) for the specified cell or cells.
Data Type
Integer
See Also
CellType, Sheet, TypeComboBoxAutoSearch, TypeComboBoxCount, TypeComboBoxCurSel, TypeComboBoxEditable, TypeComboBoxList, TypeComboBoxMaxDrop, TypeComboBoxString, TypeComboBoxWidth, TypeMaxEditLen properties
TypeComboBoxClear, TypeComboBoxRemoveItem methods
DLL Correspondence
SSSetTypeComboBox function