My system configuration is Windows 7 service pack1, 64 bit operation system and IE version is 11.0.9600.17843 (update version 11.0.20).
Kindly check this url provided by MSDN for double click event:
http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/ondblclickEX.htm
To reproduce issue on Windows 7 + IE 11 follow below step:
Move focus to address bar by clicking on address bar.
Now double click on text box, double click event does not fire.
This issue does not reproduce on Windows 8 + IE 11 OR Windows 7 + IE version < 11.
Below is the code copied from: https://msdn.microsoft.com/en-us/library/ms536921(v=vs.85).aspx
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function addItem()
{
sNewItem = new Option(txtEnter.value)
selList.add(sNewItem);
}
</script>
</head>
<body>
<p>Enter text and then double-click in the text box to
add text to the list box.</p>
<input type="text" name="txtEnter" value="Enter_text"
ondblclick="addItem()"><br><br>
<select name="selList" size="5"></select>
</body>
</html>
I'm also getting this double click issue for ActiveX control created in VB6 for environment Windows 7 + IE 11.
My ActiveX application working fine on Windows 8 + IE 11.
Kindly provide me any solution or workaround for this issue.
答案 0 :(得分:0)
要解决此问题,请按照以下步骤启用尚未具有焦点的控件的双击事件。