AutoCompleteComboBoxOnLeave Method
This is overridden to ensure that the selected item is chosen if the control is left while the
drop-down is shown.
Namespace: EWSoftware.ListControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override void OnLeave(
EventArgs e
)
Protected Overrides Sub OnLeave (
e As EventArgs
)
protected:
virtual void OnLeave(
EventArgs^ e
) override
abstract OnLeave :
e : EventArgs -> unit
override OnLeave :
e : EventArgs -> unit
Parameters
- e EventArgs
- The event arguments
There is an odd problem that happens every so often where if the drop-down is displayed,
you type letters to use auto-completion to select an entry, and then tab out, it doesn't save the
selected item. If this event is fired while the drop-down is shown, it saves the item selected,
hides the drop-down, and restores the chosen item.