| Visual Basic (Declaration) | |
|---|---|
Public Event ComboSelChange() As EditorNotifyEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event EditorNotifyEventHandler ComboSelChange() | |
The event handler receives an argument of type EditorNotifyEventArgs containing data related to this event. The following EditorNotifyEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Column | Gets the column index of the cell with the editor that raised the event. |
| EditingControl | Gets the Control object that raises the event. |
| Row | Gets the row index of the cell with the editor that raised the event. |
| View | Gets the view that contains the cell with the editor that raised the event. |
This example raises several of the combo box related events when the user clicks on a combo box button and makes a selection from the list.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.CellType.ComboBoxCellType cb = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); | |
| Visual Basic | Copy Code |
|---|---|
Dim cb As New FarPoint.Win.Spread.CellType.ComboBoxCellType() | |
This event is raised by the OnComboSelChange method when the same item in a combo box drop-down list is selected or another item is selected. The selected item changes when the user clicks another list item or presses the arrow keys to highlight other items in the list.
Use this event to update a combo box list before the user closes the list. The ComboDropDown event occurs before this event; the ComboCloseUp event occurs after this event.
For more details on the individual event arguments, refer to EditorNotifyEventArgs members.
Reference
FpSpread ClassFpSpread Members
ComboCloseUp Event
ComboDropDown Event
EditorNotifyEventArgs Class