Hello,
I have created a very complex window with a large number of SAY and GET fields,
the GET fields with COMBO, LISTBOX, GOTFOCUS, LOSTFOCUS, HIDE etc, and DCREAD GUI.
After some addtions now I have a very unfriendly effect.
If at a GET field the ENTER key is pressed, most of the GET fields are blocked, no input
is possible.
If I work with the mouse only everything works well !
The stepwise debugging hasn't help me.
Has anybody an idea, what I can do to solve this problem?
Dieter
Problem with ENTER key
Re: Problem with ENTER key
Seems you have an endless recursion somehwere in there. Two codeblocks (or even more) setting the app focus from "gotfocus" and "lostfocus" (or "keyblock") or vice versa. Or doing something like this. Can you try to extract some code to show the problem? Do you use the NOSUPERVISE clause of DCGET OPTIONS? Which version of eXpress++ do you use?
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Problem with ENTER key
To determine if this is true, you can put some debugging in a customer handler:
Code: Select all
DCREAD GUI .. HANDLER myHandler
STATIC FUNCTION myHandler( nEvent, mp1, mp2, oXbp, oDlg, GetList )
WTF DC_AppEventDefine(nEvent), oXbp
RETURN DCGUI_NONE
The eXpress train is coming - and it has more cars.