Subject Re: combobox / msgbox
From Lee Grant <camilee@nospam.comcast.net>
Date Wed, 28 Feb 2024 01:30:37 -0500
Newsgroups dbase.getting-started

Michel,

Incidentally, I was going through the files in my test area, and I
noticed after tracking down whose file it was, that you have created a
.cc file (lgcontrols) and I noticed all of your custom objects still
have the Object(parent, name) which I think is supposed to be
problematic, at least according to the tip by Ken Mayer in his books.
If it's working for you, disregard, but I just noticed it going through
looking for a file and thought I better mention it, in case some of the
problems you have with it are related to that.

Lee

On 2/15/2024 11:13 AM, Michel wrote:
>> If the onChange event handler is being executed but the message box is
>> not being displayed it suggests that oRef.findkey(upper(this.value)) is
>> returning true.
>>
>> If your \"ready for msgbox\" message appears in the Results panel then the
>> msgbox should have opened.  If it didn\'t open then something strange is
>> happening.
>>
>> Remove the return immediately before the endif (it really shouldn\'t be
>> there but, in theory anyway shouldn\'t do any harm) and see if it makes a
>> difference.
>>
>> Mervyn.
>
> removing the return didn't change anything
>
> please find sample attached.
> if in the combobox I enter "sdfsfds" and validate by TAB key, msgbox opens.
> if I enter "éqqdsd" and validate by ENTER key (CUAENTER off), msgbox doesn't open (but I receive the sound of the msgbox !!)
>
> Michel
>