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

Glossary Item Box

TypeComboBoxEditable Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether users can edit the text in a combo box cell. This property is available at run time only.

Syntax

C++

BOOL CSpreadSheet::GetTypeComboBoxEditable( );
void CSpreadSheet::SetTypeComboBoxEditable(BOOL value);

Visual Basic

[form.]fpSpread.TypeComboBoxEditable[ = boolean%]

Remarks

The default value for the TypeComboBoxEditable property is False.

To use the TypeComboBoxEditable 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. Once you set the TypeComboBoxEditable property for a cell or cells, any subsequent combo box cells you create will use the same TypeComboBoxEditable setting unless you reset it for those cells.

Notes:
  • The TypeComboBoxEditable property does not have an effect unless the CellType property is set to 8 (Combo Box) for the specified cell or cells.
  • The TypeComboBoxEditable property will not return the correct value or have an effect if the fpCombo control is used in a combo box cell in a sheet.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Combo Box menu, and then the Settings tab, and then select the Editable check box in the Cell Type Settings dialog box.

Data Type

Integer (Boolean)

See Also

Creating and Setting up a Combo Box Cell

CellType, Col, Row, Sheet, TypeComboBoxAutoSearch, TypeComboBoxCount, TypeComboBoxIndex, TypeComboBoxList, TypeComboBoxMaxDrop, TypeComboBoxString, TypeComboBoxWidth properties

TypeComboBoxClear, TypeComboBoxRemoveItem methods

DLL Correspondence

SSSetTypeComboBox function

Copyright © GrapeCity, inc. All rights reserved.