{{tag>category:"OpenInsight 32-bit" author:"Kevin Bolitho" author:"bob carten" author:"Carl Pates"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== Webbrowser OLE - Some keys operate twice! (OpenInsight 32-bit) ==== === At 10 SEP 2012 07:22:45PM Kevin Bolitho wrote: === I have just been experimenting with the MS Web browser control as an OLE control in a plain OI window. I note that web pages that allow text entry seem to work OK but come keys double their operation. When the Back Space key is pressed it removes two characters rather than one. Interestingly all arrow key double as well. Up and down move two lines. Normal characters and DEL key seem to work correctly. If any one has come across this or has a suggestion I would be interested. Thanks in advance... OI is version 7.2.2 (Window XP or 7 both the same) IE is version 8 ---- === At 12 SEP 2012 08:48AM bob carten wrote: === The OLE control is itself a sort of wrapper around IE. Try using shell.explorer instead of the webbrowser control.Then, in the create event of the window use call send_message(@window:'.OLECONTROL_1', 'Navigate2', 'about:blank') ---- === At 12 SEP 2012 05:05PM Kevin Bolitho wrote: === Yes I am already doing this. I notice that if I use the OLE_TESTER window in SYSPROG the same thing happens so I'm guessing that the issues is not specifically my application of the OLE. I wonder , could the OLE wrapper be seeing the key press and then duplicating it to the control??? ---- === At 17 SEP 2012 03:26AM Carl Pates wrote: === Kevin, There are several issues with keystroke translation and OLE controls that have been addressed in later versions of OI. If you upgrade to at least OI 8.0.5 you should be able to use the NOACCELTRANSLATION property and the FORCEKEYDISPATCH and SUPPRESSKEYTRANSLATE messages to fine tune keystroke processing if you encounter problems. [email=cpates@sprezzatura.com]Carl Pates[/email] [url=http://www.sprezzatura.com]Sprezzatura[/url] [url=http://www.sprezzatura.com/blog]The Sprezzatura Blog[/url] [i]World leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=3E83FFD2DF4B1F0F01EC9480A|View this thread on the Works forum...]]