when using the Microsoft Web Browser ActiveX control in a Gupta Form special keys (backspace, cursors a. s. o) will not be processed after returning to a Gupta control in the same form.
You can reproduce this with Dave Rabelink's GoogleMaps JScript API sample (https://wiki.tdcommunity.net/index.php/ ... _Maps_demo) See also his comment on this problem at the bottom of the thread on his sample, where he explains, what he has already found out on this problem.
It would be expected, that the Gupta windows process the keystrokes after re-gaining the focus.
This problem occurs on all Gupta Versions from 3.x to 6.x.
I am still looking for an answer on this topic. Does anyone have an idea?
What I'd be looking for is a test case from you showing this issue that you can zip and attach here. I'd suggest a TD v5.2 or maybe v4.2 test case & be sure to include any APL(s) that are non-Gupta and are required. Last, perhaps a short bullet list of what to do to repro. this issue and what we're looking for (if it's something other than something like "Click on the end of the field with text and click the backspace key") to show what backspace + other keys are apparently still being 'filtered' or 'routed' to the AX browser control.
Be aware that if your test in v5.2 or earlier can repro. this issue it would only be entered to be fixed in the TD versions currently supported by Gupta. And this open forum area, for TD v5.2 and earlier, are too old and are no longer supported for bug fixes. Thus, if you want to get it in the Gupta bug database you'll need to provide a TD v6.x version in the closed v6.x forum area.
Palm Springs, California
and thank you for giving a reply.
The problem can be reproduced with TD 3 as well as TD 6.x.
It is not specific to the sample program of Dave. I mentioned Dave's sample for you to have a test case at hand. But, as you asked for a separate test case, I just created one for you.
The zip file attached, includes IETest60.apl and its included files as well as IETest60_merged.apl which is a merged version of that program (the includes are merged right into the file for ease of compilation).
The test case has a datafield on top, where you can type in a URL (which is pre filled with www.google.de) and a GO button, which fills the IE activeX below.
As Long as you don't press the GO button, the URL data field is completely editable (including possibility to use the backspace button).
But as you fill the IE activeX control (by pressing the GO button), all special keystrokes (including backspace) is routed to the IE control - even when the data field has the focus.
So, now you have a clear test case, with which you can easily reproduce the Problem.
I hope that you can give me a solution on how to tell the activeX control, not to catch the keystrokes anymore when it looses the focus.
* I don't have TD v6.0 installed, but with v6.1 I get an inconsistent 'freeze' of the backspace key:
- First time I run the test and click the 'Go' button, then click end of the field's URL, I can backspace OK.
- Second time I do this the backspace key does nothing, as you report.
* I added a SalSetFocus( dfsURL ) after the button's "Call axIE.OpenUrl(dfsURL)" and now I can click end of the field and backspace OK multiple times.
* I also backported the test to v5.2 and as is I cannot repro. the 'freeze' backspace key at all. I cannot backport earlier than this because there's no Receive Binary in v4.2 or earlier. I've attached my v5.2 test.
Palm Springs, California
My testcase is an excerpt of a pease of code that I use in CTD 3.0 and 6.0 alike. Both have the same Problem.
I do not have any 5.x Versions anymore, but I tried it in 6.1 as well; and there the same problem arises - even after forcing the Focus to go to the data field as you have explained.
Please, try again more carefully.
Who is online
Users browsing this forum: [Ccbot] and 0 guests