onChangeCancel
Fires when the user takes an action that closes the dropdown list without choosing an item from the list for a style 1 or 2 combobox
Parameters
none
Property of
Combobox
Description
onChangeCancel fires when the dropdown list closes in the following situations:
When the user left clicks the mouse anywhere except on the dropdown list window or the combobox dropdown button
When the user presses the tab key or escape key while the dropdown list is open
When the user left clicks on the Close button for the form containing the combobox
onChangeCancel can be used to detect that the user has closed the dropdown list without clearly and unambiguously choosing an item from the list. In some situations it may be necessary to detect this and, possibly, set the combobox value back to a previous value since the current combobox value may have been changed due to the user navigating through the dropdown list.
When the dropdown list closes, either onChangeCancel will fire or onChangeCommitted will fire, not both.