Spread 8.0 Documentation
TypeComboBoxIndex Property
Support Options
ActiveX Reference > ActiveX Properties > TypeComboBoxIndex Property

Glossary Item Box

TypeComboBoxIndex Property


See Also    DLL    Example

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

C++

short CSpreadSheet::GetTypeComboBoxIndex( );
void CSpreadSheet::SetTypeComboBoxIndex(short value);

Visual Basic

[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

Copyright © GrapeCity, inc. All rights reserved.