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

Glossary Item Box

TypeComboBoxList Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the list of items displayed in a combo box cell. This property is available at run time only.

Syntax

C++

CString CSpreadSheet::GetTypeComboBoxList( );
void CSpreadSheet::SetTypeComboBoxList(LPCTSTR value);

Visual Basic

[form.]fpSpread.TypeComboBoxList[ = text$]

Remarks

Separate each item in the string list with a tab character (ASCII 9 or `\t' in C++).

To use the TypeComboBoxList 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.

Notes:
  • The TypeComboBoxList property does not have an effect unless the CellType property is set to 8 (Combo Box) for the specified cell or cells.
  • The TypeComboBoxList 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 type text in the Text edit box and use the command buttons in the Combo Box List group box in the Cell Type Settings dialog box.

Data Type

String

See Also

Creating and Setting up a Combo Box Cell

CellType, Sheet, TypeComboBoxAutoSearch, TypeComboBoxCount, TypeComboBoxCurSel, TypeComboBoxEditable, TypeComboBoxIndex, TypeComboBoxMaxDrop, TypeComboBoxString, TypeComboBoxWidth, TypeMaxEditLen properties

TypeComboBoxClear, TypeComboBoxRemoveItem methods

DLL Correspondence

SSSetTypeComboBox function

Copyright © GrapeCity, inc. All rights reserved.