ondblclick Event

Occurs when the left mouse button is depressed and released twice in quick succession while the mouse pointer is inside the region contained by the object's boundaries.

Syntax

VBScriptSub spriteObj_ondblclick
<!--script-->
End Sub
JScript<SCRIPT LANGUAGE="JavaScript" FOR=spriteObj EVENT=ondblclick>
<!--script-->
</SCRIPT>

Possible Values

script
Script to be executed when the event occurs.

Remarks

The sequence of events for an ondblclick event is as follows:

  1. onmousedown
  2. onmouseup
  3. onclick
  4. onmouseup
  5. ondblclick

The user can control the timing of click events by changing the Mouse settings found in the Control Panel.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.