TypeComboBoxCurSel Property
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
short CSpreadSheet::GetTypeComboBoxCurSel( );
void CSpreadSheet::SetTypeComboBoxCurSel(short value);
[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