SSpread.ComboSelChange Event
Occurs when the user changes the selection of a combo box cell.
The following child objects are attached to the Event object.
| Type | Name | Description |
|---|---|---|
| Number | Col | Column number of combo box type cell |
| Number | Row | Row number of combo box type cell |
When the drop-down list is open, the event also fires when you change the selection with the direction keys.
Example of usage
Function OnComboSelChange(e) {
Col = e.Col;
Row = e.Row;
TypeComboBoxIndex = TypeComboBoxCurSel;
print(TypeComboBoxString, "\n");
}
Related Item
CellType property
ComboCloseUp, ComboDropDown event