javascript - window.Event vs window.event -
for reason when fired through c# code using ihtmlelement2.focus() method call, onfocus event not set window.event (which become null), instead other object window.event set event information. there reason this? using shdocvw interface internetexplorer , first time have seen issue.
sounds typical microsoft bug. have problem case sensitivity since has been onverlooked distinction since day 1 of os.
i suggest maybe looking kb article http://msdn.microsoft.com/en-us/library/aa703985(v=vs.85).aspx tabindex hooha sounds joke, else expect.
then suggest trying 4th variant form of ihtmlelement particularly onfocusin event alternative onfocus.
but since control environment via shdocvw object - i'd map window.event object window.event object in onfocus handler - 1 line of code never hurt no 1 - except when 1 line of code hurts stack overflow, buffer overrun or out of memory exception of course :d
Comments
Post a Comment