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

Glossary Item Box

TypeComboBoxCurSel Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the number of the item selected in the combo box list. This property is available at run time only.

Syntax

C++

short CSpreadSheet::GetTypeComboBoxCurSel( );
void CSpreadSheet::SetTypeComboBoxCurSel(short value);

Visual Basic

[form.]fpSpread.TypeComboBoxCurSel[ = value%]

Remarks

The first item in the combo box list has a TypeComboBoxCurSel property value of 0.

To use the TypeComboBoxCurSel 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 TypeComboBoxCurSel 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, Col, Row, Sheet, TypeComboBoxAutoSearch, TypeComboBoxCount, TypeComboBoxEditable, TypeComboBoxIndex, TypeComboBoxList, TypeComboBoxMaxDrop, TypeComboBoxString, TypeComboBoxWidth properties

TypeComboBoxClear, TypeComboBoxRemoveItem methods

DLL Correspondence

SSSetTypeComboBox function

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