Posted 8 September 2017, 2:24 pm EST
Posted by: rprabhu on 8 September 2017, 2:24 pm EST
Replied 8 September 2017, 2:24 pm EST
EditEnter event is Spread for COM is bit different from InputMap in Spread for WinForms wherein EditEnter event occurs whenever we edit the cell and press enter whereas InputMap for Enter key will only fire whenever we will press EnterKey in Spread and not when we edit the Spread cells.
However, in Spread for WinForms EditChange event doesn't occur whenever we make the same selection from the combobox dropdown, it only occurs whenever the user changes the text in a cell in edit mode. So instead of sending carriage return key in EditChange event i would suggest you to SendKey in ComboCloseUp event.
void fpSpread1_ComboCloseUp(object sender, FarPoint.Win.Spread.EditorNotifyEventArgs e)
FarPoint.Win.Spread.CellType.ComboBoxCellType c = (FarPoint.Win.Spread.CellType.ComboBoxCellType)fpSpread1.ActiveSheet.ActiveCell.CellType;
Hope this will you. Thanks.