SSpread.TypeComboBoxList Property
In the combo box type cell, set the list items at once.
Only valid for cells with the CellType property set to $CellTypeComboBox (combo box type). Before setting this property, use the Col , Row properties etc. to specify what to do.
Separate each item in the list with a tab character ( \t ). The initial value is an empty string.
Setting this property to a blank string ( “” ) sets the combo box list item to one blank item. ( The TypeComboBoxCount property will be 1 ) Use the TypeComboBoxClear method to completely remove list items .
If you want to add only one combobox list item, use the TypeComboBoxIndex , TypeComboBoxString properties. You can get the number of items in the list with the TypeComboBoxCount property. Items are removed using the TypeComboBoxClear and TypeComboBoxRemoveItem methods.
Notes on property inheritance of combo box type cells
Use case
Col = 3;
Row = 2;
CellType = $ CellTypeComboBox;
TypeComboBoxList = "AAA\tBBB\tCCC";
BlockMode = $ TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $ CellTypeComboBox;
TypeComboBoxList = "XXX\tYYY\tZZZ";
BlockMode = $FALSE;
Related item
CellType , TypeComboBoxCount , TypeComboBoxIndex , TypeComboBoxString properties
TypeComboBoxClear , TypeComboBoxRemoveItem methods