UserControlComboBoxEditingControlOnKeyPress Method
This is overridden to notify the data grid view of value changes on the first key press
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override void OnKeyPress(
KeyPressEventArgs e
)
Protected Overrides Sub OnKeyPress (
e As KeyPressEventArgs
)
protected:
virtual void OnKeyPress(
KeyPressEventArgs^ e
) override
abstract OnKeyPress :
e : KeyPressEventArgs -> unit
override OnKeyPress :
e : KeyPressEventArgs -> unit
Parameters
- e KeyPressEventArgs
- The event arguments
If the first key auto-completes the default entry, it won't see the change so we must force
it.