How to overcome SendKey exception in currency cell

15 Jun 20211 minute to read

CurrentCellKeyDown event cannot be handled for CurrencyTextbox when Windows Forms application is hosted into Internet Explorer. It will throw an error message as,“SendKeys cannot run inside this application.” To overcome this exemption, set ActivateSendKey property to false.

this.Grid.TableModel.Option.ActivateSendKey = false;

this.Grid.Model.Option.ActivateSendKey = false;

this.GridList.Grid.Model.Option.ActivateSendKey = false;
Me.Grid.TableModel.Option.ActivateSendKey = False

Me.Grid.Model.Option.ActivateSendKey = False

Me.GridList.Grid.Model.Option.ActivateSendKey = False