Subject |
combobox / msgbox |
From |
Michel <mgomet@gmail.com> |
Date |
Thu, 15 Feb 2024 03:50:53 -0500 |
Newsgroups |
dbase.getting-started |
Hello,
I have the following issue :
I have a combobox (style 1 DropDown) with and OnChange event like below :
function MYCOMBOBOX_OnChange
if form.myRowset.findkey(uper(this.value))
// some code
else
msgbox("Not Found", "Check", 0 + 16)
return
endif
return
When entering wrong data (directly in the box, without opening it) and going to next field in the form by pressing TAB key, msgbox opens normally. But if going to next field by pressing ENTER key (CUAENTER is OFF), msgbox doesn't open (as if enter key was applied directly to the msgbox), and then I have no warning.
What am I missing ?
Michel
|
|